Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101928
b: refs/heads/master
c: d33e4df
h: refs/heads/master
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Jul 9, 2008
1 parent 4d56726 commit 163f122
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ecbb3845dd678364148c1faad32adbc9dd833ef9
refs/heads/master: d33e4dfeab5eb0c3c1359cc1a399f2f8b49e18de
10 changes: 4 additions & 6 deletions trunk/fs/nfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
enum {
/* Mount options that take no arguments */
Opt_soft, Opt_hard,
Opt_intr, Opt_nointr,
Opt_posix, Opt_noposix,
Opt_cto, Opt_nocto,
Opt_ac, Opt_noac,
Expand Down Expand Up @@ -105,8 +104,8 @@ static match_table_t nfs_mount_option_tokens = {

{ Opt_soft, "soft" },
{ Opt_hard, "hard" },
{ Opt_intr, "intr" },
{ Opt_nointr, "nointr" },
{ Opt_deprecated, "intr" },
{ Opt_deprecated, "nointr" },
{ Opt_posix, "posix" },
{ Opt_noposix, "noposix" },
{ Opt_cto, "cto" },
Expand Down Expand Up @@ -787,9 +786,6 @@ static int nfs_parse_mount_options(char *raw,
case Opt_hard:
mnt->flags &= ~NFS_MOUNT_SOFT;
break;
case Opt_intr:
case Opt_nointr:
break;
case Opt_posix:
mnt->flags |= NFS_MOUNT_POSIX;
break;
Expand Down Expand Up @@ -1105,6 +1101,8 @@ static int nfs_parse_mount_options(char *raw,

case Opt_userspace:
case Opt_deprecated:
dfprintk(MOUNT, "NFS: ignoring mount option "
"'%s'\n", p);
break;

default:
Expand Down

0 comments on commit 163f122

Please sign in to comment.