summaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm/srmmu.c
diff options
context:
space:
mode:
authorAl Viro2011-03-10 05:04:47 +0100
committerAl Viro2011-03-14 14:15:27 +0100
commit5b6ca027d85b7438c84b78a54ccdc2e53f2909cd (patch)
treee35b870101fbc6a2ea6e0399429d9c23707697f3 /arch/sparc/mm/srmmu.c
parentuntangle do_lookup() (diff)
downloadkernel-qcow2-linux-5b6ca027d85b7438c84b78a54ccdc2e53f2909cd.tar.gz
kernel-qcow2-linux-5b6ca027d85b7438c84b78a54ccdc2e53f2909cd.tar.xz
kernel-qcow2-linux-5b6ca027d85b7438c84b78a54ccdc2e53f2909cd.zip
reduce vfs_path_lookup() to do_path_lookup()
New lookup flag: LOOKUP_ROOT. nd->root is set (and held) by caller, path_init() starts walking from that place and all pathname resolution machinery never drops nd->root if that flag is set. That turns vfs_path_lookup() into a special case of do_path_lookup() *and* gets us down to 3 callers of link_path_walk(), making it finally feasible to rip the handling of trailing symlink out of link_path_walk(). That will not only simply the living hell out of it, but make life much simpler for unionfs merge. Trailing symlink handling will become iterative, which is a good thing for stack footprint in a lot of situations as well. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/mm/srmmu.c')
0 files changed, 0 insertions, 0 deletions