]> asedeno.scripts.mit.edu Git - linux.git/commit
SUNRPC: Introduce rpc_prepare_reply_pages()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 11 Feb 2019 16:25:20 +0000 (11:25 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 14 Feb 2019 15:04:37 +0000 (10:04 -0500)
commitcf500bac8fd48b57f38ece890235923d4ed5ee91
treecde3b6cb76a940f87e934f2c8855195ba08aa232
parent2573a46499956c2ff311e1a65052364243161e78
SUNRPC: Introduce rpc_prepare_reply_pages()

prepare_reply_buffer() and its NFSv4 equivalents expose the details
of the RPC header and the auth slack values to upper layer
consumers, creating a layering violation, and duplicating code.

Remedy these issues by adding a new RPC client API that hides those
details from upper layers in a common helper function.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c
fs/nfs/nfs4xdr.c
include/linux/sunrpc/clnt.h
include/trace/events/sunrpc.h
net/sunrpc/clnt.c
net/sunrpc/xdr.c