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)
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

diff --cc fs/namespace.c
Simple merge