]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3de32c1ec220acd50ff51fa10dcf531231054072
tree2ad5e963e698e9524e0eabe466534f03ce324226
parent8a3bb396e6d595ba117b9ea8b2053830a196cd08
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