]> 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)
commitbc5d751596712f02ddd4f1d266c2ab4f929f4799
tree2ad5e963e698e9524e0eabe466534f03ce324226
parent97dc387838ab8436701e55710fc517257ac7bc00
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