Re: [PATCH v1 4/8] btrfs: Add mountpoint checking during btrfs_copy_file_range

2015-09-09 Thread David Sterba
On Fri, Sep 04, 2015 at 04:16:58PM -0400, Anna Schumaker wrote: > We need to verify that both the source and the destination files are > part of the same filesystem, otherwise we can't create a reflink. > > Signed-off-by: Anna Schumaker > --- > fs/btrfs/ioctl.c | 4

Re: [PATCH v1 4/8] btrfs: Add mountpoint checking during btrfs_copy_file_range

2015-09-09 Thread Anna Schumaker
On 09/09/2015 05:18 AM, David Sterba wrote: > On Fri, Sep 04, 2015 at 04:16:58PM -0400, Anna Schumaker wrote: >> We need to verify that both the source and the destination files are >> part of the same filesystem, otherwise we can't create a reflink. >> >> Signed-off-by: Anna Schumaker

[PATCH v1 4/8] btrfs: Add mountpoint checking during btrfs_copy_file_range

2015-09-04 Thread Anna Schumaker
We need to verify that both the source and the destination files are part of the same filesystem, otherwise we can't create a reflink. Signed-off-by: Anna Schumaker --- fs/btrfs/ioctl.c | 4 1 file changed, 4 insertions(+) diff --git a/fs/btrfs/ioctl.c