mbox series

[v2,0/2] Fix regression in libfuse test_copy_file_range()

Message ID 20241014192759.863031-1-amir73il@gmail.com (mailing list archive)
Headers show
Series Fix regression in libfuse test_copy_file_range() | expand

Message

Amir Goldstein Oct. 14, 2024, 7:27 p.m. UTC
Miklos,

I figured it was best to split the backing_file interface change from
the fix, but both changes should be targetting stable.

Thanks,
Amir.

Changes since v1:
- Change end_write() callback arguments
- Use pos argument to extend i_size instead of using backing inode size

Amir Goldstein (2):
  fs: pass offset and result to backing_file end_write() callback
  fuse: update inode size after extending passthrough write

 fs/backing-file.c            | 8 ++++----
 fs/fuse/passthrough.c        | 8 ++++----
 fs/overlayfs/file.c          | 9 +++++++--
 include/linux/backing-file.h | 2 +-
 4 files changed, 16 insertions(+), 11 deletions(-)

Comments

Miklos Szeredi Oct. 15, 2024, 1:26 p.m. UTC | #1
On Mon, 14 Oct 2024 at 21:28, Amir Goldstein <amir73il@gmail.com> wrote:
>
> Miklos,
>
> I figured it was best to split the backing_file interface change from
> the fix, but both changes should be targetting stable.

Looks good.  Applied and pushed.

Thanks,
Miklos