]> 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)
commit27d012ceca46796b883fbf8c13033184161b1fcc
tree03209c6558834b688ace36b3e982b45355301afb
parent0d26a775fdd377fa1daebb1d82bf0c610ad749c3
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