]> 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)
commit3561ac0f71f133655c19b0fd5b623e2c09c949db
tree3c41300e19411ccb21b40472c482c48fffeb5254
parent1deb1d96ecd2fd28c459fa8bfb6b5206a463f688
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