]> git.karo-electronics.de Git - karo-tx-linux.git/commit
svcrdma: Clean up RDMA_ERROR path
authorChuck Lever <chuck.lever@oracle.com>
Sun, 9 Apr 2017 17:06:33 +0000 (13:06 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 25 Apr 2017 21:25:55 +0000 (17:25 -0400)
commit6b19cc5ca2f78ebc88f5d39ba6a94197bb392fcc
treeb3b87f0c81009a04a8a31eb8a9090e41739bf8e1
parent9a6a180b7867ceceeeab88a6f011bac23174b939
svcrdma: Clean up RDMA_ERROR path

Now that svc_rdma_sendto has been renovated, svc_rdma_send_error can
be refactored to reduce code duplication and remove C structure-
based XDR encoding. It is also relocated to the source file that
contains its only caller.

This is a refactoring change only.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/rpc_rdma.h
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma_marshal.c
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
net/sunrpc/xprtrdma/svc_rdma_sendto.c