svcrdma: Clean up svc_rdma_get_reply_array()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 9 Jul 2015 20:45:28 +0000 (16:45 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 20 Jul 2015 18:58:47 +0000 (14:58 -0400)
commit10dc4512185741a298cd7bc87e9968944f31a50d
tree49b74533224cdc51b3dee4e8466fc80363fda8bd
parent9d11b51ce7c150a69e761e30518f294fc73d55ff
svcrdma: Clean up svc_rdma_get_reply_array()

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>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma_sendto.c
This page took 0.028008 seconds and 5 git commands to generate.