get rid of propagate_umount() mistakenly treating slaves as busy.
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 18 Aug 2014 19:09:26 +0000 (15:09 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 30 Aug 2014 22:31:41 +0000 (18:31 -0400)
commit88b368f27a094277143d8ecd5a056116f6a41520
tree70dbec3575942bad615cab61ab9061f2b8228128
parent52addcf9d6669fa439387610bc65c92fa0980cef
get rid of propagate_umount() mistakenly treating slaves as busy.

The check in __propagate_umount() ("has somebody explicitly mounted
something on that slave?") is done *before* taking the already doomed
victims out of the child lists.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namespace.c
fs/pnode.c