summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback_proc.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-01-26 15:11:49 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-02-06 18:48:04 -0500
commitc7add9a9720ff5be4715f7a0bb0d9578b2e8534e (patch)
tree9b87930052ffe27acbdb94ac294ea0f073847189 /fs/nfs/callback_proc.c
parentbc224f539dcce7805d4bfb68a92f0fe8bb102c22 (diff)
downloadop-kernel-dev-c7add9a9720ff5be4715f7a0bb0d9578b2e8534e.zip
op-kernel-dev-c7add9a9720ff5be4715f7a0bb0d9578b2e8534e.tar.gz
NFS: search for client session id in proper network namespace
Network namespace is taken from request transport and passed as a part of cb_process_state structure. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback_proc.c')
-rw-r--r--fs/nfs/callback_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/callback_proc.c b/fs/nfs/callback_proc.c
index 0e6e63f..f71978d 100644
--- a/fs/nfs/callback_proc.c
+++ b/fs/nfs/callback_proc.c
@@ -461,7 +461,7 @@ __be32 nfs4_callback_sequence(struct cb_sequenceargs *args,
int i;
__be32 status = htonl(NFS4ERR_BADSESSION);
- clp = nfs4_find_client_sessionid(args->csa_addr, &args->csa_sessionid);
+ clp = nfs4_find_client_sessionid(cps->net, args->csa_addr, &args->csa_sessionid);
if (clp == NULL)
goto out;
OpenPOWER on IntegriCloud