diff options
-rw-r--r-- | net/sunrpc/xprtrdma/transport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/transport.c b/net/sunrpc/xprtrdma/transport.c index 8cf5ccfe180d..eb46d2479b09 100644 --- a/net/sunrpc/xprtrdma/transport.c +++ b/net/sunrpc/xprtrdma/transport.c | |||
@@ -728,7 +728,8 @@ xprt_rdma_send_request(struct rpc_task *task) | |||
728 | 728 | ||
729 | /* On retransmit, remove any previously registered chunks */ | 729 | /* On retransmit, remove any previously registered chunks */ |
730 | if (unlikely(!list_empty(&req->rl_registered))) | 730 | if (unlikely(!list_empty(&req->rl_registered))) |
731 | r_xprt->rx_ia.ri_ops->ro_unmap_safe(r_xprt, req, false); | 731 | r_xprt->rx_ia.ri_ops->ro_unmap_sync(r_xprt, |
732 | &req->rl_registered); | ||
732 | 733 | ||
733 | rc = rpcrdma_marshal_req(r_xprt, rqst); | 734 | rc = rpcrdma_marshal_req(r_xprt, rqst); |
734 | if (rc < 0) | 735 | if (rc < 0) |