Tidy up the server-side XDR encoders for READDIR results and directory entries. Series applies to nfsd-next. See topic branch "nfsd4-encoder-overhaul" in this repo: https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git --- Chuck Lever (5): NFSD: Rename nfsd4_encode_dirent() NFSD: Clean up nfsd4_encode_rdattr_error() NFSD: Add an nfsd4_encode_nfs_cookie4() helper NFSD: Clean up nfsd4_encode_entry4() NFSD: Clean up nfsd4_encode_readdir() fs/nfsd/nfs4xdr.c | 200 +++++++++++++++++++++++----------------------- fs/nfsd/xdr4.h | 3 + 2 files changed, 104 insertions(+), 99 deletions(-) -- Chuck Lever