aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback_proc.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-01-26 06:11:49 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-02-06 18:48:04 -0500
commitc7add9a9720ff5be4715f7a0bb0d9578b2e8534e (patch)
tree9b87930052ffe27acbdb94ac294ea0f073847189 /fs/nfs/callback_proc.c
parentbc224f539dcce7805d4bfb68a92f0fe8bb102c22 (diff)
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 0e6e63f55db4..f71978d107d0 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,
461 int i; 461 int i;
462 __be32 status = htonl(NFS4ERR_BADSESSION); 462 __be32 status = htonl(NFS4ERR_BADSESSION);
463 463
464 clp = nfs4_find_client_sessionid(args->csa_addr, &args->csa_sessionid); 464 clp = nfs4_find_client_sessionid(cps->net, args->csa_addr, &args->csa_sessionid);
465 if (clp == NULL) 465 if (clp == NULL)
466 goto out; 466 goto out;
467 467