aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/super.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 5278eef61110..f824c415c8a7 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -65,7 +65,6 @@
65enum { 65enum {
66 /* Mount options that take no arguments */ 66 /* Mount options that take no arguments */
67 Opt_soft, Opt_hard, 67 Opt_soft, Opt_hard,
68 Opt_intr, Opt_nointr,
69 Opt_posix, Opt_noposix, 68 Opt_posix, Opt_noposix,
70 Opt_cto, Opt_nocto, 69 Opt_cto, Opt_nocto,
71 Opt_ac, Opt_noac, 70 Opt_ac, Opt_noac,
@@ -105,8 +104,8 @@ static match_table_t nfs_mount_option_tokens = {
105 104
106 { Opt_soft, "soft" }, 105 { Opt_soft, "soft" },
107 { Opt_hard, "hard" }, 106 { Opt_hard, "hard" },
108 { Opt_intr, "intr" }, 107 { Opt_deprecated, "intr" },
109 { Opt_nointr, "nointr" }, 108 { Opt_deprecated, "nointr" },
110 { Opt_posix, "posix" }, 109 { Opt_posix, "posix" },
111 { Opt_noposix, "noposix" }, 110 { Opt_noposix, "noposix" },
112 { Opt_cto, "cto" }, 111 { Opt_cto, "cto" },
@@ -787,9 +786,6 @@ static int nfs_parse_mount_options(char *raw,
787 case Opt_hard: 786 case Opt_hard:
788 mnt->flags &= ~NFS_MOUNT_SOFT; 787 mnt->flags &= ~NFS_MOUNT_SOFT;
789 break; 788 break;
790 case Opt_intr:
791 case Opt_nointr:
792 break;
793 case Opt_posix: 789 case Opt_posix:
794 mnt->flags |= NFS_MOUNT_POSIX; 790 mnt->flags |= NFS_MOUNT_POSIX;
795 break; 791 break;
@@ -1105,6 +1101,8 @@ static int nfs_parse_mount_options(char *raw,
1105 1101
1106 case Opt_userspace: 1102 case Opt_userspace:
1107 case Opt_deprecated: 1103 case Opt_deprecated:
1104 dfprintk(MOUNT, "NFS: ignoring mount option "
1105 "'%s'\n", p);
1108 break; 1106 break;
1109 1107
1110 default: 1108 default: