rpcrdma: Add RPCRDMA_HDRLEN_ERR
authorChuck Lever <chuck.lever@oracle.com>
Tue, 1 Mar 2016 18:06:29 +0000 (13:06 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 1 Mar 2016 21:06:38 +0000 (13:06 -0800)
commitc6db03ea577846a72dc80638f4a70b392c21962f
tree357fcd12ef3856be8f46ab32cf879241ffd4356d
parentbf36387ad394ad4fc93ad85fdd4a95dfa583556a
rpcrdma: Add RPCRDMA_HDRLEN_ERR

Error headers are shorter than either RDMA_MSG or RDMA_NOMSG.

Since HDRLEN_MIN is already used in several other places that would
be annoying to change, add RPCRDMA_HDRLEN_ERR for the one or two
spots where the shorter length is needed.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/rpc_rdma.h