NFS: More readdir cleanups
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 1 Nov 2020 20:24:41 +0000 (15:24 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:52 +0000 (14:05 -0500)
commit93b8959a0a8cf1b1a493efee9e8328681e111862
tree6772b8194b518969f5e4972d8bc2917065de71e0
parent1a34c8c9a49ee10ccaf91091ddd98c25e4d567dd
NFS: More readdir cleanups

Remove the redundant caching of the credential in struct
nfs_open_dir_context.
Pass the buffer size as an argument to nfs_readdir_xdr_filler().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Tested-by: Benjamin Coddington <bcodding@redhat.com>
Tested-by: Dave Wysochanski <dwysocha@redhat.com>
fs/nfs/dir.c
include/linux/nfs_fs.h