]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Chunk list encoders must not return zero
authorChuck Lever <chuck.lever@oracle.com>
Wed, 29 Jun 2016 17:53:52 +0000 (13:53 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 11 Jul 2016 19:50:43 +0000 (15:50 -0400)
commit17c93fa931fcf16d5d8fdae4c7382bdbff674f71
tree9a6393703f0b164aea80960d0096cbedf40a255c
parent175007f3fc45898d41b62fa8821edd08169c40bd
xprtrdma: Chunk list encoders must not return zero

Clean up, based on code audit: Remove the possibility that the
chunk list XDR encoders can return zero, which would be interpreted
as a NULL.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/fmr_ops.c
net/sunrpc/xprtrdma/frwr_ops.c
net/sunrpc/xprtrdma/rpc_rdma.c