Skip to content
Commit 115cbfdc authored by Al Viro's avatar Al Viro
Browse files

let path_init() failures treated the same way as subsequent link_path_walk()



As it is, path_lookupat() and path_mounpoint() might end up leaking struct file
reference in some cases.

Spotted-by: default avatarEric Biggers <ebiggers3@gmail.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 24dff96a
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