]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit75d92f301fb1af79391febb94305955e3fb8531f
tree3c41300e19411ccb21b40472c482c48fffeb5254
parent8289c3c592c23605643829b2d8fa259e8c7cf453
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