]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06f0c862e6661041f7e71b43ac6dcdcd6914c4bf
tree6772b8194b518969f5e4972d8bc2917065de71e0
parente71839dfc76657d59330e51a336a6fe04fdb9003
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