NFS: Don't allocate nfs_fattr on the stack in __nfs42_ssc_open()
stable inclusion from stable-v5.10.140 commit 23c6f25a60435f85e1a442dd5492e96a260dd731 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I63FTT Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=23c6f25a60435f85e1a442dd5492e96a260dd731 -------------------------------- [ Upstream commit 156cd285 ] The preferred behaviour is always to allocate struct nfs_fattr from the slab. Signed-off-by: NTrond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com>
Showing
想要评论请 注册 或 登录