NFS: Reduce readdir stack usage
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 2 Nov 2020 13:55:03 +0000 (08:55 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:52 +0000 (14:05 -0500)
commit6b75cf9e309d18664f964889ac026096ba0d1919
tree9cdf7c157a3aee1c5e38556c49815dd182d4ceeb
parentdbeaf8c984ca689c2c0966c41bd78dee178b5dfe
NFS: Reduce readdir stack usage

The descriptor and the struct nfs_entry are both large structures,
so don't allocate them from the stack.

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