]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Refactor rpc_xdr_buf_init()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 15 Sep 2016 14:55:12 +0000 (10:55 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 19 Sep 2016 17:08:37 +0000 (13:08 -0400)
commitd56ec75c624c20e1eda3110bb3cb842d37c81998
tree03209c6558834b688ace36b3e982b45355301afb
parentd87f850538dbb1ccf97fc54e7d8bf6552365d1ea
SUNRPC: Refactor rpc_xdr_buf_init()

Clean up: there is some XDR initialization logic that is common
to the forward channel and backchannel. Move it to an XDR header
so it can be shared.

rpc_rqst::rq_buffer points to a buffer containing big-endian data.
Update its annotation as part of the clean up.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/xdr.h
include/linux/sunrpc/xprt.h
net/sunrpc/backchannel_rqst.c
net/sunrpc/clnt.c
net/sunrpc/xprtrdma/backchannel.c