mnt: Factor umount_mnt from umount_tree
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 16 Jan 2015 04:58:33 +0000 (22:58 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 9 Apr 2015 16:39:54 +0000 (11:39 -0500)
commit6a46c5735c29175da55b2fa9d53775182422cdd7
tree1f98d10a0d3485f49bd59cc78ce0aee74de577c7
parent7bdb11de8ee4f4ae195e2fa19efd304e0b36c63b
mnt: Factor umount_mnt from umount_tree

For future use factor out a function umount_mnt from umount_tree.
This function unhashes a mount and remembers where the mount
was mounted so that eventually when the code makes it to a
sleeping context the mountpoint can be dput.

Cc: stable@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/namespace.c