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)
commita54d4059e5f356c522aabfd38563ab6e64773263
tree9a6393703f0b164aea80960d0096cbedf40a255c
parent7a89f9c626e337ba6528d8a2829b228c933877fb
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