]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Change return value of rpcrdma_prepare_send_sges()
authorChuck Lever <chuck.lever@oracle.com>
Fri, 20 Oct 2017 14:47:55 +0000 (10:47 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 17 Nov 2017 18:47:56 +0000 (13:47 -0500)
commit857f9acab9343788fe59f7be3a4710131b705db4
tree812b379159f43f949caca0783ed06aca895c30dd
parent394b2c77cb761fb1382b0e97b7cdff2dd717b5ee
xprtrdma: Change return value of rpcrdma_prepare_send_sges()

Clean up: Make rpcrdma_prepare_send_sges() return a negative errno
instead of a bool. Soon callers will want distinct treatments of
different types of failures.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/backchannel.c
net/sunrpc/xprtrdma/rpc_rdma.c
net/sunrpc/xprtrdma/xprt_rdma.h