Commit d33e4dfe authored by Chuck Lever's avatar Chuck Lever Committed by Trond Myklebust

NFS: Treat "intr" and "nointr" options as deprecated

Clean up:  the "intr" and "nointr" mount options were recently retired.
Document this in the NFS mount option parser.
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent ecbb3845
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
enum { enum {
/* Mount options that take no arguments */ /* Mount options that take no arguments */
Opt_soft, Opt_hard, Opt_soft, Opt_hard,
Opt_intr, Opt_nointr,
Opt_posix, Opt_noposix, Opt_posix, Opt_noposix,
Opt_cto, Opt_nocto, Opt_cto, Opt_nocto,
Opt_ac, Opt_noac, Opt_ac, Opt_noac,
...@@ -105,8 +104,8 @@ static match_table_t nfs_mount_option_tokens = { ...@@ -105,8 +104,8 @@ static match_table_t nfs_mount_option_tokens = {
{ Opt_soft, "soft" }, { Opt_soft, "soft" },
{ Opt_hard, "hard" }, { Opt_hard, "hard" },
{ Opt_intr, "intr" }, { Opt_deprecated, "intr" },
{ Opt_nointr, "nointr" }, { Opt_deprecated, "nointr" },
{ Opt_posix, "posix" }, { Opt_posix, "posix" },
{ Opt_noposix, "noposix" }, { Opt_noposix, "noposix" },
{ Opt_cto, "cto" }, { Opt_cto, "cto" },
...@@ -787,9 +786,6 @@ static int nfs_parse_mount_options(char *raw, ...@@ -787,9 +786,6 @@ static int nfs_parse_mount_options(char *raw,
case Opt_hard: case Opt_hard:
mnt->flags &= ~NFS_MOUNT_SOFT; mnt->flags &= ~NFS_MOUNT_SOFT;
break; break;
case Opt_intr:
case Opt_nointr:
break;
case Opt_posix: case Opt_posix:
mnt->flags |= NFS_MOUNT_POSIX; mnt->flags |= NFS_MOUNT_POSIX;
break; break;
...@@ -1105,6 +1101,8 @@ static int nfs_parse_mount_options(char *raw, ...@@ -1105,6 +1101,8 @@ static int nfs_parse_mount_options(char *raw,
case Opt_userspace: case Opt_userspace:
case Opt_deprecated: case Opt_deprecated:
dfprintk(MOUNT, "NFS: ignoring mount option "
"'%s'\n", p);
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment