]> www.infradead.org Git - users/jedix/linux-maple.git/commit
backing-file: clean up the API
authorMiklos Szeredi <mszeredi@redhat.com>
Mon, 21 Oct 2024 10:33:38 +0000 (12:33 +0200)
committerAmir Goldstein <amir73il@gmail.com>
Mon, 11 Nov 2024 09:45:03 +0000 (10:45 +0100)
commit48b50624aec454ce0fa8f78ef96e2f43bc0be495
tree607d8001af0e76d0a734c0f1ddbe830665ea9cff
parent3b6b99ef15ea37635604992ede9ebcccef38a239
backing-file: clean up the API

 - Pass iocb to ctx->end_write() instead of file + pos

 - Get rid of ctx->user_file, which is redundant most of the time

 - Instead pass iocb to backing_file_splice_read and
   backing_file_splice_write

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
fs/backing-file.c
fs/fuse/passthrough.c
fs/overlayfs/file.c
include/linux/backing-file.h