]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/namespace.c
split __lookup_mnt() in two functions
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 1 Oct 2013 20:11:26 +0000 (16:11 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 25 Oct 2013 03:35:00 +0000 (23:35 -0400)
commit474279dc0f7745124fc76b474c8dc1294f8e87ce
tree2ad5e963e698e9524e0eabe466534f03ce324226
parent7eb5e8826911f2792179f99e77e75fbb7ef53a4a
split __lookup_mnt() in two functions

Instead of passing the direction as argument (and checking it on every
step through the hash chain), just have separate __lookup_mnt() and
__lookup_mnt_last().  And use the standard iterators...

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