]> www.infradead.org Git - users/hch/misc.git/commit
sunrpc: simplify xdr_init_encode_pages
authorChristoph Hellwig <hch@lst.de>
Sun, 16 Feb 2025 08:49:21 +0000 (09:49 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 13 May 2025 08:20:20 +0000 (10:20 +0200)
commitf5ffdfc36c45c11f25bead67f7b47e5b34eca818
tree90a6e6e72f4ef8837a0374c61d9cd39ddac1c0e0
parent155a1415088152d10e146d2c107f0d98d0e47ba9
sunrpc: simplify xdr_init_encode_pages

The rqst argument to xdr_init_encode_pages is set to NULL by all callers,
and pages is always set to buf->pages.  Remove the two arguments and
hardcode the assignments.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/nfsd/nfs3proc.c
fs/nfsd/nfsproc.c
include/linux/sunrpc/xdr.h
net/sunrpc/xdr.c