untangling do_lookup() - eliminate a loop.
commitacc9cb3cd425f479d8fc4a441bff45dce23aa6dd
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 30 Mar 2012 18:13:15 +0000 (30 14:13 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 31 Mar 2012 20:03:16 +0000 (31 16:03 -0400)
tree08ffc4b16ad2d00069189440dbfd4b893e2cc96e
parent37c17e1f377696c797e75c1e915e838b3e0c6120
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: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c