diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-05-10 15:07:33 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-14 20:30:27 -0400 |
commit | 586f95cd4ffda7aa120327ec09865b181c809cdf (patch) | |
tree | c9e35c871ba6ebbca6d997183d3f528a88fd7788 /fs/nfs | |
parent | 2311b9439ce8c525f3f8f821fc2ca9a541f673a5 (diff) |
NFS: Remove NFS4_MOUNT_UNSHARED
This flag is numerically equivalent to NFS_MOUNT_UNSHARED, so I can
remove it to make collapsing functions more straightforward.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/super.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index f56fb357ddb3..40d43e05af03 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -2719,7 +2719,7 @@ nfs4_remote_mount(struct file_system_type *fs_type, int flags, | |||
2719 | } | 2719 | } |
2720 | sb_mntdata.server = server; | 2720 | sb_mntdata.server = server; |
2721 | 2721 | ||
2722 | if (server->flags & NFS4_MOUNT_UNSHARED) | 2722 | if (server->flags & NFS_MOUNT_UNSHARED) |
2723 | compare_super = NULL; | 2723 | compare_super = NULL; |
2724 | 2724 | ||
2725 | /* -o noac implies -o sync */ | 2725 | /* -o noac implies -o sync */ |
@@ -2983,7 +2983,7 @@ nfs4_xdev_mount(struct file_system_type *fs_type, int flags, | |||
2983 | } | 2983 | } |
2984 | sb_mntdata.server = server; | 2984 | sb_mntdata.server = server; |
2985 | 2985 | ||
2986 | if (server->flags & NFS4_MOUNT_UNSHARED) | 2986 | if (server->flags & NFS_MOUNT_UNSHARED) |
2987 | compare_super = NULL; | 2987 | compare_super = NULL; |
2988 | 2988 | ||
2989 | /* -o noac implies -o sync */ | 2989 | /* -o noac implies -o sync */ |
@@ -3074,7 +3074,7 @@ nfs4_remote_referral_mount(struct file_system_type *fs_type, int flags, | |||
3074 | } | 3074 | } |
3075 | sb_mntdata.server = server; | 3075 | sb_mntdata.server = server; |
3076 | 3076 | ||
3077 | if (server->flags & NFS4_MOUNT_UNSHARED) | 3077 | if (server->flags & NFS_MOUNT_UNSHARED) |
3078 | compare_super = NULL; | 3078 | compare_super = NULL; |
3079 | 3079 | ||
3080 | /* -o noac implies -o sync */ | 3080 | /* -o noac implies -o sync */ |