]> www.infradead.org Git - users/jedix/linux-maple.git/commit
svcrdma: Clean up svc_rdma_get_reply_array()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 25 Aug 2015 19:33:45 +0000 (13:33 -0600)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 31 Aug 2015 20:45:57 +0000 (14:45 -0600)
commitd91662cbac12fde1456c79179d78cba7d05ef709
tree96146f8dfc6b6fcfab1cb3402d9aba8ec93da8f5
parent195f56ac2d40786d68e56a436d74a73f10072aaa
svcrdma: Clean up svc_rdma_get_reply_array()

[ Queued for upstream v4.3 ]

Kernel coding conventions frown upon having large nontrivial
functions in header files, and the preference these days is to
allow the compiler to make inlining decisions if possible.

As these functions are re-homed into a .c file, be sure that
comparisons with fields in struct rpcrdma_msg are with be32
constants.

This is a refactoring change; no behavior change is intended.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma_sendto.c