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>
This commit is contained in:
Stanislav Kinsbursky 2012-01-26 15:11:49 +04:00 committed by Trond Myklebust
parent bc224f539d
commit c7add9a972
5 changed files with 7 additions and 4 deletions

View file

@ -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;