]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitb9c5bc03be6aae41990efd09f83cf70a89ac9f4b
tree03209c6558834b688ace36b3e982b45355301afb
parenteb342e9a38a5ad79866fec2df2d3ca4592bc501b
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