+0
−1
+7
−2
+1
−1
Loading
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:
Al Viro <viro@zeniv.linux.org.uk>