Skip to contentSkip to conversation

cifs: fix misspelling of "forcedirectio"

PATCH In review Jeff Layton 2 participants 2 messages May 16, 2012 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 cifs: fix misspelling of "forcedirectio"

...and add a "directio" synonym since that's what the manpage has always advertised.

---
 fs/cifs/connect.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
fs/cifs/connect.c +2 -1
index 5dcc551..e0b56d7 100644
@@ -164,7 +164,8 @@ static const match_table_t cifs_mount_option_tokens = {
 	{ Opt_sign, "sign" },
 	{ Opt_seal, "seal" },
 	{ Opt_direct, "direct" },
-	{ Opt_direct, "forceddirectio" },
+	{ Opt_direct, "directio" },
+	{ Opt_direct, "forcedirectio" },
 	{ Opt_strictcache, "strictcache" },
 	{ Opt_noac, "noac" },
 	{ Opt_fsc, "fsc" },
Signature · 1 line
1.7.7.6
#2 lore raw
In reply to a message not in the archive
Quoted 14 lines · Jeff Layton

...and add a "directio" synonym since that's what the manpage has always advertised.

---
 fs/cifs/connect.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
fs/cifs/connect.c +0 -0
index 5dcc551..e0b56d7 100644

fs/cifs/connect.c static const match_table_t cifs_mount_option_tokens = { · line 171

Quoted 9 lines
fs/cifs/connect.c +2 -1
@@ -164,7 +164,8 @@ static const match_table_t cifs_mount_option_tokens = {
 	{ Opt_sign, "sign" },
 	{ Opt_seal, "seal" },
 	{ Opt_direct, "direct" },
-	{ Opt_direct, "forceddirectio" },
+	{ Opt_direct, "directio" },
+	{ Opt_direct, "forcedirectio" },
 	{ Opt_strictcache, "strictcache" },
 	{ Opt_noac, "noac" },
 	{ Opt_fsc, "fsc" },

ACK

Sachin Prabhu