Skip to content
Commit 2c88c16d authored by Al Viro's avatar Al Viro
Browse files

erofs: fix handling kern_mount() failure



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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 7e4a205f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment