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

untangling do_lookup() - eliminate a loop.



d_lookup() *will* fail after successful d_invalidate(), if we are
holding i_mutex all along.  IOW, we don't need to jump back to
l: - we know what path will be taken there and can do that (i.e.
d_alloc_and_lookup()) directly.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 37c17e1f
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