Re: [PATCH 1/3] Btrfs-progs: fix mount point detection due to partial prefix match

2019-01-14 Thread Filipe Manana
On Mon, Jan 14, 2019 at 1:59 PM David Disseldorp wrote: > > On Mon, 14 Jan 2019 13:30:24 +, fdman...@kernel.org wrote: > > > From: Filipe Manana > > > > When attempting to find the mount point of a path we can end up returning > > an incorrect mount point. This happens because we consider a m

Re: [PATCH 1/3] Btrfs-progs: fix mount point detection due to partial prefix match

2019-01-14 Thread David Disseldorp
On Mon, 14 Jan 2019 13:30:24 +, fdman...@kernel.org wrote: > From: Filipe Manana > > When attempting to find the mount point of a path we can end up returning > an incorrect mount point. This happens because we consider a mount point > valid for the given path even if it matches only partial

[PATCH 1/3] Btrfs-progs: fix mount point detection due to partial prefix match

2019-01-14 Thread fdmanana
From: Filipe Manana When attempting to find the mount point of a path we can end up returning an incorrect mount point. This happens because we consider a mount point valid for the given path even if it matches only partially the patch. Consider the following example, which makes btrfs receive fa