]> git.ipfire.org Git - people/ms/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 13:11:03 +0000 (14:11 +0100)
commit7fed3a7947cc3954189dfd99baa7e5a48b760040
tree03073c30da85a85384ba296a56e390c2dd7d8b62
parent202935e63a83d8295f74da296e255a8bfcb2c209
SUNRPC: Always manipulate rpc_rqst::rq_bc_pa_list under xprt->bc_pa_lock

commit 813b00d63f6ca1ed40a2f4f9c034d59bc424025e upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sunrpc/backchannel_rqst.c