]> git.karo-electronics.de Git - karo-tx-linux.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)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 25 Feb 2014 01:32:34 +0000 (17:32 -0800)
commitd5d3708a0f57a7f3a237c84c213232a8145352a9
treec8d4d94e56845ce44269febc01fc05e7290eebf7
parent298fc1acf0a02dbd9bf6f21c40c68093670c1f4b
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>
fs/namespace.c