mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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: [email protected]
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
52addcf9d6
commit
88b368f27a
2 changed files with 4 additions and 1 deletions
|
|
@ -381,6 +381,7 @@ static void __propagate_umount(struct mount *mnt)
|
|||
* other children
|
||||
*/
|
||||
if (child && list_empty(&child->mnt_mounts)) {
|
||||
list_del_init(&child->mnt_child);
|
||||
hlist_del_init_rcu(&child->mnt_hash);
|
||||
hlist_add_before_rcu(&child->mnt_hash, &mnt->mnt_hash);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue