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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Sep 2014 16:19:22 +0000 (09:19 -0700)
commitc532b9ce36b10a5b34def0870f5bd7dafc4b1384
treec8d12d90719a264e1cdfe04c73e0566db1d1b3c7
parent93927a247ca105482a9dbaf58a739c5db2546990
get rid of propagate_umount() mistakenly treating slaves as busy.

commit 88b368f27a094277143d8ecd5a056116f6a41520 upstream.

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.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/namespace.c
fs/pnode.c