summaryrefslogtreecommitdiffstats
path: root/fs/nfs/client.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2013-06-25 18:23:27 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-06-28 22:04:10 +0200
commitf112bb48994e56868870a080773c392f774fa9a2 (patch)
tree879a77d1724f68f20f7fcc6ac12cd19dc03784ee /fs/nfs/client.c
parentNFSv4.1 Refactor nfs4_init_session and nfs4_init_channel_attrs (diff)
downloadlinux-f112bb48994e56868870a080773c392f774fa9a2.tar.xz
linux-f112bb48994e56868870a080773c392f774fa9a2.zip
NFS: Set NFS_CS_MIGRATION for NFSv4 mounts
NFS_CS_MIGRATION makes sense only for NFSv4 mounts. Introduced by commit 89652617 (NFS: Introduce "migration" mount option) Fri Sep 14 17:24:11 2012. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r--fs/nfs/client.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index c513b0cc835f..dbb65fb9e82d 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -753,8 +753,6 @@ static int nfs_init_server(struct nfs_server *server,
data->timeo, data->retrans);
if (data->flags & NFS_MOUNT_NORESVPORT)
set_bit(NFS_CS_NORESVPORT, &cl_init.init_flags);
- if (server->options & NFS_OPTION_MIGRATION)
- set_bit(NFS_CS_MIGRATION, &cl_init.init_flags);
/* Allocate or find a client reference we can use */
clp = nfs_get_client(&cl_init, &timeparms, NULL, RPC_AUTH_UNIX);