]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/namespace.c
mnt: In umount_tree reuse mnt_list instead of mnt_hash
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 18 Dec 2014 19:10:48 +0000 (13:10 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 3 Apr 2015 01:34:18 +0000 (20:34 -0500)
commitc003b26ff98ca04a180ff34c38c007a3998d62f9
tree0d48f9edeed164c03b02494cf129ef76a0ffb91c
parent8318e667f176f7ea34451a1a530634e293f216ac
mnt: In umount_tree reuse mnt_list instead of mnt_hash

umount_tree builds a list of mounts that need to be unmounted.
Utilize mnt_list for this purpose instead of mnt_hash.  This begins to
allow keeping a mount on the mnt_hash after it is unmounted, which is
necessary for a properly functioning MNT_LOCKED implementation.

The fact that mnt_list is an ordinary list makding available list_move
is nice bonus.

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