diff options
author | 2019-05-02 11:21:08 -0400 | |
---|---|---|
committer | 2019-07-06 14:54:48 -0400 | |
commit | b5e924191f87239e555f3ef3b8d8e697bb95e7dc (patch) | |
tree | 1e7a2207cc4b5c6f794dba99d2618e0803d1a31f /net/sunrpc/xprtrdma/svc_rdma_backchannel.c | |
parent | SUNRPC: Replace direct task wakeups from softirq context (diff) | |
download | wireguard-linux-b5e924191f87239e555f3ef3b8d8e697bb95e7dc.tar.xz wireguard-linux-b5e924191f87239e555f3ef3b8d8e697bb95e7dc.zip |
SUNRPC: Remove the bh-safe lock requirement on xprt->transport_lock
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_backchannel.c')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_backchannel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_backchannel.c b/net/sunrpc/xprtrdma/svc_rdma_backchannel.c index bed57d8b5c19..d1fcc41d5eb5 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_backchannel.c +++ b/net/sunrpc/xprtrdma/svc_rdma_backchannel.c @@ -72,9 +72,9 @@ int svc_rdma_handle_bc_reply(struct rpc_xprt *xprt, __be32 *rdma_resp, else if (credits > r_xprt->rx_buf.rb_bc_max_requests) credits = r_xprt->rx_buf.rb_bc_max_requests; - spin_lock_bh(&xprt->transport_lock); + spin_lock(&xprt->transport_lock); xprt->cwnd = credits << RPC_CWNDSHIFT; - spin_unlock_bh(&xprt->transport_lock); + spin_unlock(&xprt->transport_lock); spin_lock(&xprt->queue_lock); ret = 0; |