diff options
Diffstat (limited to 'net/sunrpc/backchannel_rqst.c')
-rw-r--r-- | net/sunrpc/backchannel_rqst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/backchannel_rqst.c b/net/sunrpc/backchannel_rqst.c index 3513d559bc45..9761a0da964d 100644 --- a/net/sunrpc/backchannel_rqst.c +++ b/net/sunrpc/backchannel_rqst.c | |||
@@ -244,10 +244,10 @@ void xprt_free_bc_request(struct rpc_rqst *req) | |||
244 | dprintk("RPC: free backchannel req=%p\n", req); | 244 | dprintk("RPC: free backchannel req=%p\n", req); |
245 | 245 | ||
246 | req->rq_connect_cookie = xprt->connect_cookie - 1; | 246 | req->rq_connect_cookie = xprt->connect_cookie - 1; |
247 | smp_mb__before_clear_bit(); | 247 | smp_mb__before_atomic(); |
248 | WARN_ON_ONCE(!test_bit(RPC_BC_PA_IN_USE, &req->rq_bc_pa_state)); | 248 | WARN_ON_ONCE(!test_bit(RPC_BC_PA_IN_USE, &req->rq_bc_pa_state)); |
249 | clear_bit(RPC_BC_PA_IN_USE, &req->rq_bc_pa_state); | 249 | clear_bit(RPC_BC_PA_IN_USE, &req->rq_bc_pa_state); |
250 | smp_mb__after_clear_bit(); | 250 | smp_mb__after_atomic(); |
251 | 251 | ||
252 | if (!xprt_need_to_requeue(xprt)) { | 252 | if (!xprt_need_to_requeue(xprt)) { |
253 | /* | 253 | /* |