diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2021-10-22 17:03:02 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2021-10-28 09:45:32 +0200 |
commit | 27ae449ba26eb6c1cd217fa28339841c55bc79e1 (patch) | |
tree | cef5b254eaaca250c9a958ccc92f025f776f644f /fs/fuse/dev.c | |
parent | 8c56e03d2e08d83776c89e4b6563ca8cfdf7da54 (diff) | |
download | linux-stable-27ae449ba26eb6c1cd217fa28339841c55bc79e1.tar.gz linux-stable-27ae449ba26eb6c1cd217fa28339841c55bc79e1.tar.bz2 linux-stable-27ae449ba26eb6c1cd217fa28339841c55bc79e1.zip |
fuse: rename fuse_write_update_size()
This function already updates the attr_version in fuse_inode, regardless of
whether the size was changed or not.
Rename the helper to fuse_write_update_attr() to reflect the more generic
nature.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/dev.c')
-rw-r--r-- | fs/fuse/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index 491c092d427b..75ae30d568ea 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -1591,7 +1591,7 @@ static int fuse_notify_store(struct fuse_conn *fc, unsigned int size, end = outarg.offset + outarg.size; if (end > file_size) { file_size = end; - fuse_write_update_size(inode, file_size); + fuse_write_update_attr(inode, file_size); } num = outarg.size; |