summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback_xdr.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_xdr.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_xdr.c')
-rw-r--r--fs/nfs/callback_xdr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/callback_xdr.c b/fs/nfs/callback_xdr.c
index e14af46bd2c..2e372240d02 100644
--- a/fs/nfs/callback_xdr.c
+++ b/fs/nfs/callback_xdr.c
@@ -861,6 +861,7 @@ static __be32 nfs4_callback_compound(struct svc_rqst *rqstp, void *argp, void *r
.drc_status = 0,
.clp = NULL,
.slotid = -1,
+ .net = rqstp->rq_xprt->xpt_net,
};
unsigned int nops = 0;