Re: [PATCH v6] vfs: fix copy_file_range regression in cross-fs copies

2021-02-19 Thread Amir Goldstein
On Fri, Feb 19, 2021 at 11:18 PM Olga Kornievskaia wrote: > > On Thu, Feb 18, 2021 at 12:33 PM Luis Henriques wrote: > > > > A regression has been reported by Nicolas Boichat, found while using the > > copy_file_range syscall to copy a tracefs file. Before commit > > 5dae222a5ff0 ("vfs: allow co

Re: [PATCH v6] vfs: fix copy_file_range regression in cross-fs copies

2021-02-19 Thread Olga Kornievskaia
On Thu, Feb 18, 2021 at 12:33 PM Luis Henriques wrote: > > A regression has been reported by Nicolas Boichat, found while using the > copy_file_range syscall to copy a tracefs file. Before commit > 5dae222a5ff0 ("vfs: allow copy_file_range to copy across devices") the > kernel would return -EXDEV

[PATCH v6] vfs: fix copy_file_range regression in cross-fs copies

2021-02-18 Thread Luis Henriques
A regression has been reported by Nicolas Boichat, found while using the copy_file_range syscall to copy a tracefs file. Before commit 5dae222a5ff0 ("vfs: allow copy_file_range to copy across devices") the kernel would return -EXDEV to userspace when trying to copy a file across different filesyst