summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-05-16 13:12:26 +0200
committerSteve French <sfrench@us.ibm.com>2012-05-16 18:26:25 +0200
commit531c8ff0d472295f5ef5d1bd306115c81a84889e (patch)
tree1b7c638d73d60bba5c27094566e5d07e3e6b249b /fs/cifs/connect.c
parentLinux 3.4-rc7 (diff)
downloadlinux-531c8ff0d472295f5ef5d1bd306115c81a84889e.tar.xz
linux-531c8ff0d472295f5ef5d1bd306115c81a84889e.zip
cifs: fix misspelling of "forcedirectio"
...and add a "directio" synonym since that's what the manpage has always advertised. Acked-by: Sachin Prabhu <sprabhu@redhat.com> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to '')
-rw-r--r--fs/cifs/connect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 5dcc55197fb3..e0b56d7a19c5 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -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" },