]> git.karo-electronics.de Git - linux-beck.git/commit
SUNRPC: Always manipulate rpc_rqst::rq_bc_pa_list under xprt->bc_pa_lock
authorChuck Lever <chuck.lever@oracle.com>
Fri, 13 Feb 2015 18:08:25 +0000 (13:08 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 13 Feb 2015 22:41:10 +0000 (17:41 -0500)
commit813b00d63f6ca1ed40a2f4f9c034d59bc424025e
treefb2f589f7ddb03480ded4b4640124ae1d83823fd
parent54d7e72a758609da5936d7452320d799cfc6a25c
SUNRPC: Always manipulate rpc_rqst::rq_bc_pa_list under xprt->bc_pa_lock

Other code that accesses rq_bc_pa_list holds xprt->bc_pa_lock.
xprt_complete_bc_request() should do the same.

Fixes: 2ea24497a1b3 ("SUNRPC: RPC callbacks may be split . . .")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/backchannel_rqst.c