OSDN Git Service

mnt: Factor umount_mnt from umount_tree
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 16 Jan 2015 04:58:33 +0000 (22:58 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:03:51 +0000 (22:03 +0200)
commit2db706971b3f28b3d59a9af231578803da85def8
tree8f8d3509a3c30b9c9b9f3196d9e5d61ac1e6b794
parent92e35ac5954f9f7829ad88066930a4b2b58fe4dd
mnt: Factor umount_mnt from umount_tree

commit 6a46c5735c29175da55b2fa9d53775182422cdd7 upstream.

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.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/namespace.c