Skip to content
Commit 8b90e74d authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov
Browse files

mnt: don't match the wrong nested bind mount



Andrey reported this issue and it took me a while to figure out exactly what
might cause it. I think the comment describes it accurately, as with that
example I end up with mountinfo on the host like:

47 23 253:1 /root/bind1/subdir /root/bind2 rw,relatime shared:1 - ext4 /dev/disk/by-uuid/6c5a78e0-95fa-49a8-aa91-a8093d295e58 rw,data=ordered
48 23 253:1 /root/bind1 /root/bind3 rw,relatime shared:1 - ext4 /dev/disk/by-uuid/6c5a78e0-95fa-49a8-aa91-a8093d295e58 rw,data=ordered

Reported-by: default avatarAndrew Vagin <avagin@odin.com>
CC: Andrew Vagin <avagin@odin.com>
Signed-off-by: default avatarTycho Andersen <tycho.andersen@canonical.com>
Acked-by: default avatarAndrew Vagin <avagin@odin.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 7e395cae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment