]> git.baikalelectronics.ru Git - kernel.git/commit
NFSD: Refactor common code out of dirlist helpers
authorChuck Lever <chuck.lever@oracle.com>
Mon, 12 Sep 2022 21:22:56 +0000 (17:22 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 26 Sep 2022 18:02:47 +0000 (14:02 -0400)
commitac47347f66fd84fa69210c1f8440706abaf84671
treed019af3d7a38db0948b97ea94a215ca1eee84f35
parent7e789f1c3305ab7607c306853695ed32644e0fd1
NFSD: Refactor common code out of dirlist helpers

The dust has settled a bit and it's become obvious what code is
totally common between nfsd_init_dirlist_pages() and
nfsd3_init_dirlist_pages(). Move that common code to SUNRPC.

The new helper brackets the existing xdr_init_decode_pages() API.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs3proc.c
fs/nfsd/nfsproc.c
include/linux/sunrpc/xdr.h
net/sunrpc/xdr.c