cifs: fix misspelling of "forcedirectio"
authorJeff Layton <jlayton@redhat.com>
Wed, 16 May 2012 11:12:26 +0000 (07:12 -0400)
committerSteve French <sfrench@us.ibm.com>
Wed, 16 May 2012 16:26:25 +0000 (11:26 -0500)
...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>

fs/cifs/connect.c

index 5dcc551..e0b56d7 100644 (file)
@@ -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" },