Commit 267fc3a
Al Viro
do_move_mount(): don't leak MNTNS_PROPAGATING on failures
as it is, a failed move_mount(2) from anon namespace breaks
all further propagation into that namespace, including normal
mounts in non-anon namespaces that would otherwise propagate
there.
Fixes: 064fe6e ("mount: handle mount propagation for detached mount trees")
Reviewed-by: Christian Brauner <[email protected]>
Signed-off-by: Al Viro <[email protected]>1 parent 65781e1 commit 267fc3a
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3715 | 3715 | | |
3716 | 3716 | | |
3717 | 3717 | | |
3718 | | - | |
3719 | | - | |
3720 | | - | |
3721 | 3718 | | |
3722 | 3719 | | |
3723 | 3720 | | |
3724 | 3721 | | |
3725 | 3722 | | |
3726 | 3723 | | |
| 3724 | + | |
| 3725 | + | |
3727 | 3726 | | |
3728 | 3727 | | |
3729 | 3728 | | |
| |||
0 commit comments