+4
−3
Loading
mainline inclusion from mainline-v6.8-rc6 commit 2c88c16dc20e88dd54d2f6f4d01ae1dce6cc9654 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I971F0 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2c88c16dc20e88dd54d2f6f4d01ae1dce6cc9654 -------------------------------- if you have a variable that holds NULL or a pointer to live struct mount, do not shove ERR_PTR() into it - not if you later treat "not NULL" as "holds a pointer to object". Signed-off-by:Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Zizhi Wo <wozizhi@huawei.com>