[SMB3][PATCH] fix copy_file_range when copying beyond end of source file

Steve French smfrench at gmail.com
Thu Jun 20 05:46:35 UTC 2019


On Thu, Jun 20, 2019 at 12:28 AM Amir Goldstein <amir73il at gmail.com> wrote:
>
> On Thu, Jun 20, 2019 at 4:44 AM Steve French <smfrench at gmail.com> wrote:
> >
> > Patch attached fixes the case where copy_file_range over an SMB3 mount
> > tries to go beyond the end of file of the source file.  This fixes
> > xfstests generic/430 and generic/431
> >
> > Amir's patches had added a similar change in the VFS layer...
>
> BTW, Steve, do you intend to pull Darrick's copy-file-range-fixes
> branch for 5.3 and add the extra cifs "file_modified" patch?
>
> Thanks,
> Amir.

Yes - that seems reasonable to me


-- 
Thanks,

Steve



More information about the samba-technical mailing list