summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-08-20 16:00:41 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-02 00:25:51 +0200
commit29dcc16a8e29371e11fb58fc1292e01f30ff13c5 (patch)
treec5e901f6c5c76dbf916ecb5196c6cdb527f38ef8 /fs/nfs/nfs4state.c
parentNFS: make nfs_callback_tcpport per network context (diff)
downloadlinux-29dcc16a8e29371e11fb58fc1292e01f30ff13c5.tar.xz
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)