NFS: Remove NFS4_MOUNT_UNSHARED
authorBryan Schumaker <bjschuma@netapp.com>
Thu, 10 May 2012 19:07:33 +0000 (15:07 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 15 May 2012 00:30:27 +0000 (17:30 -0700)
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>
fs/nfs/super.c

index f56fb357ddb3a1afab46ada0606c9ae1b9b74d11..40d43e05af03951fb043fe4a1c23c8d67c1d00d9 100644 (file)
@@ -2719,7 +2719,7 @@ nfs4_remote_mount(struct file_system_type *fs_type, int flags,
        }
        sb_mntdata.server = server;
 
-       if (server->flags & NFS4_MOUNT_UNSHARED)
+       if (server->flags & NFS_MOUNT_UNSHARED)
                compare_super = NULL;
 
        /* -o noac implies -o sync */
@@ -2983,7 +2983,7 @@ nfs4_xdev_mount(struct file_system_type *fs_type, int flags,
        }
        sb_mntdata.server = server;
 
-       if (server->flags & NFS4_MOUNT_UNSHARED)
+       if (server->flags & NFS_MOUNT_UNSHARED)
                compare_super = NULL;
 
        /* -o noac implies -o sync */
@@ -3074,7 +3074,7 @@ nfs4_remote_referral_mount(struct file_system_type *fs_type, int flags,
        }
        sb_mntdata.server = server;
 
-       if (server->flags & NFS4_MOUNT_UNSHARED)
+       if (server->flags & NFS_MOUNT_UNSHARED)
                compare_super = NULL;
 
        /* -o noac implies -o sync */