summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2024-10-14 22:27:58 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2024-10-16 14:17:45 +0300
commitf03b296e8b516dbd63f57fc9056c1b0da1b9a0ff (patch)
treef2e16ccf5ae1e7959dfb7175db0bf4433ef614d5 /include
parent9852d85ec9d492ebef56dc5f229416c925758edc (diff)
downloadlinux-f03b296e8b516dbd63f57fc9056c1b0da1b9a0ff.tar.xz
fs: pass offset and result to backing_file end_write() callback
This is needed for extending fuse inode size after fuse passthrough write. Suggested-by: Miklos Szeredi <miklos@szeredi.hu> Link: https://lore.kernel.org/linux-fsdevel/CAJfpegs=cvZ_NYy6Q_D42XhYS=Sjj5poM1b5TzXzOVvX=R36aA@mail.gmail.com/ Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/backing-file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/backing-file.h b/include/linux/backing-file.h
index 4b61b0e57720..2eed0ffb5e8f 100644
--- a/include/linux/backing-file.h
+++ b/include/linux/backing-file.h
@@ -16,7 +16,7 @@ struct backing_file_ctx {
const struct cred *cred;
struct file *user_file;
void (*accessed)(struct file *);
- void (*end_write)(struct file *);
+ void (*end_write)(struct file *, loff_t, ssize_t);
};
struct file *backing_file_open(const struct path *user_path, int flags,