Skip to content
Commit 7e4745a0 authored by Al Viro's avatar Al Viro
Browse files

switch try_to_unlazy_next() to __legitimize_mnt()



The tricky case (__legitimize_mnt() failing after having grabbed
a reference) can be trivially dealt with by leaving nd->path.mnt
non-NULL, for terminate_walk() to drop it.

legitimize_mnt() becomes static after that.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 51c6546c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment