NFS: Don't allocate nfs_fattr on the stack in __nfs42_ssc_open()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 5 Nov 2021 18:23:30 +0000 (14:23 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 5 Nov 2021 18:54:30 +0000 (14:54 -0400)
commit156cd28562a4e8ca454d11b234d9f634a45d6390
tree3c41300e19411ccb21b40472c482c48fffeb5254
parente48c81bbc188964ac3932539e53287491f2c1d87
NFS: Don't allocate nfs_fattr on the stack in __nfs42_ssc_open()

The preferred behaviour is always to allocate struct nfs_fattr from the
slab.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4file.c