summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-08-20 18:00:41 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-01 15:25:51 -0700
commit29dcc16a8e29371e11fb58fc1292e01f30ff13c5 (patch)
treec5e901f6c5c76dbf916ecb5196c6cdb527f38ef8 /fs/nfs/nfs4state.c
parentbbe0a3aa4e227c8aae02a484ce1c0b655cd19055 (diff)
downloadtalos-obmc-linux-29dcc16a8e29371e11fb58fc1292e01f30ff13c5.tar.gz
talos-obmc-linux-29dcc16a8e29371e11fb58fc1292e01f30ff13c5.zip
NFS: make nfs_callback_tcpport6 per network context
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r--fs/nfs/nfs4state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index 716cdc20475f..bd8ed01cb0ea 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -80,7 +80,7 @@ int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred)
goto do_confirm;
port = nn->nfs_callback_tcpport;
if (clp->cl_addr.ss_family == AF_INET6)
- port = nfs_callback_tcpport6;
+ port = nn->nfs_callback_tcpport6;
status = nfs4_proc_setclientid(clp, NFS4_CALLBACK, port, cred, &clid);
if (status != 0)
OpenPOWER on IntegriCloud