]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita59311d8bccc34f4c38f4ca5afba56b47e992d8c
tree081d0b131a10270b55746c4568fcb80085b3edf2
parentf8e2b370200d082b0278d22ba49e8753cb3d01e5
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 117d2d218959 ("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