Preparations to caching root in path_walk()
commit9b4a9b14a793bc69b505ed916051f6f32db13bb8
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 7 Apr 2009 15:44:16 +0000 (7 11:44 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 12 Jun 2009 01:35:58 +0000 (11 21:35 -0400)
tree5e4aa273b714b3e10a360f71c2178de66f83bd66
parent4e44b6852e03c915618ca6776b6697b436246b00
Preparations to caching root in path_walk()

Split do_path_lookup(), opencode the call from do_filp_open()
do_filp_open() is the only caller of do_path_lookup() that
cares about root afterwards (it keeps resolving symlinks on
O_CREAT path after it'd done LOOKUP_PARENT walk).  So when
we start caching fs->root in path_walk(), it'll need a different
treatment.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c