]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSD: Add helper to set up the pages where the dirlist is encoded
authorChuck Lever <chuck.lever@oracle.com>
Tue, 17 Nov 2020 14:50:23 +0000 (09:50 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Jun 2024 12:52:51 +0000 (14:52 +0200)
commite0ddafcc25e5a1f1686769fa14e2c7ffa97266a8
tree7f4c715c55245f4d8b5e0911395ad1da6b30c916
parent29270d477fff9be7d068a15bfdf005658cbf119e
NFSD: Add helper to set up the pages where the dirlist is encoded

[ Upstream commit 40116ebd0934cca7e46423bdb3397d3d27eb9fb9 ]

De-duplicate some code that is used by both READDIR and READDIRPLUS
to build the dirlist in the Reply. Because this code is not related
to decoding READ arguments, it is moved to a more appropriate spot.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfsd/nfs3proc.c
fs/nfsd/nfs3xdr.c
fs/nfsd/xdr3.h