summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2022-09-12 17:23:19 -0400
committerChuck Lever <chuck.lever@oracle.com>2022-09-26 14:02:48 -0400
commit9993a66317fc9951322483a9edbfae95a640b210 (patch)
tree9fc29ea8877157279678a283f4fff9a0d321edb0 /fs/nfsd/xdr4.h
parentb8ab2a6f2d67a7f7b03a92348e3f29c1c767a9ca (diff)
downloadlinux-9993a66317fc9951322483a9edbfae95a640b210.tar.bz2
NFSD: Clean up nfs4svc_encode_compoundres()
In today's Linux NFS server implementation, the NFS dispatcher initializes each XDR result stream, and the NFSv4 .pc_func and .pc_encode methods all use xdr_stream-based encoding. This keeps rq_res.len automatically updated. There is no longer a need for the WARN_ON_ONCE() check in nfs4svc_encode_compoundres(). Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
0 files changed, 0 insertions, 0 deletions