There are currently two paths in the server's RPC/RDMA implementation for sending error responses. De-duplicate these two into one set of helpers. --- Chuck Lever (6): svcrdma: Fix page leak in svc_rdma_recv_read_chunk() svcrdma: Remove save_io_pages() call from send_error_msg() svcrdma: Add @rctxt parameter to svc_rdma_send_error() functions svcrdma: Add a @status parameter to svc_rdma_send_error_msg() svcrdma: Eliminate return value for svc_rdma_send_error_msg() svcrdma: Make svc_rdma_send_error_msg() a global function include/linux/sunrpc/svc_rdma.h | 4 ++ net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 9 +-- net/sunrpc/xprtrdma/svc_rdma_sendto.c | 85 +++++++++++++++++-------- 3 files changed, 68 insertions(+), 30 deletions(-) -- Chuck Lever