Searched hist:"51 b27119196cf2d89d5186c3e476d4ffca9919c7" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/erofs/ |
H A D | fscache.c | diff 51b27119196cf2d89d5186c3e476d4ffca9919c7 Mon Feb 12 21:44:11 CST 2024 Al Viro <viro@zeniv.linux.org.uk> erofs: fix handling kern_mount() failure
[ Upstream commit 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> Stable-dep-of: 0f28be64d132 ("erofs: fix lockdep false positives on initializing erofs_pseudo_mnt") Signed-off-by: Sasha Levin <sashal@kernel.org>
|