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)
commite2dfa935464272395b4f35f4cc74ffcc87418b84
tree3afcc10a2298e16883ceabf175d1c1eefa923e38
parent0a5eb7c8189922e86a840972cd0b57e41de6f031
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