svcrdma: Move read list XDR round-up logic
authorChuck Lever <chuck.lever@oracle.com>
Tue, 13 Jan 2015 16:03:45 +0000 (11:03 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 15 Jan 2015 20:01:48 +0000 (15:01 -0500)
commitfcbeced5b4df5e7f05ed8a18b69acfac733aab11
tree081d0b131a10270b55746c4568fcb80085b3edf2
parent0b056c224bea63060ce8a981e84193c93fac6f5d
svcrdma: Move read list XDR round-up logic

This is a pre-requisite for a subsequent patch.

Read list XDR round-up needs to be done _before_ additional inline
content is copied to the end of the XDR buffer's page list. Move
the logic added by commit e560e3b510d2 ("svcrdma: Add zero padding
if the client doesn't send it").

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c