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>
This commit is contained in:
Miklos Szeredi 2024-10-21 12:33:38 +02:00 • committed by Amir Goldstein
commit 48b50624ae
4 changed files with 52 additions and 46 deletions