]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sanitize path_walk() mess
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 22 Feb 2011 04:38:09 +0000 (23:38 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 14 Mar 2011 13:15:24 +0000 (09:15 -0400)
commitee0827cd6b42b0385dc1a116cd853ac1b739f711
tree2b96985f7c87c4333d740d991fbdcb3f49a1a67e
parent52094c8a0610cf57920ad4c6c57470ae2ccbbd25
sanitize path_walk() mess

New helper: path_lookupat().  Basically, what do_path_lookup() boils to
modulo -ECHILD/-ESTALE handler.  path_walk* family is gone; vfs_path_lookup()
is using link_path_walk() directly, do_path_lookup() and do_filp_open()
are using path_lookupat().

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