]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: factor out lookup_mountpoint from new_mountpoint
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Feb 2014 01:32:34 +0000 (17:32 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:38:55 +0000 (02:38 -0400)
commitbbb1da9e73bf30a5795fbc1bdce519082a10afe6
tree3afcc10a2298e16883ceabf175d1c1eefa923e38
parent4152ff6ceb776e3bd9607f264711d0addc27965a
vfs: factor out lookup_mountpoint from new_mountpoint

I am shortly going to add a new user of struct mountpoint that
needs to look up existing entries but does not want to create
a struct mountpoint if one does not exist.  Therefore to keep
the code simple and easy to read split out lookup_mountpoint
from new_mountpoint.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namespace.c