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/dax.c | |
parent | 8c56e03d2e08d83776c89e4b6563ca8cfdf7da54 (diff) | |
download | lwn-27ae449ba26eb6c1cd217fa28339841c55bc79e1.tar.gz lwn-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/dax.c')
-rw-r--r-- | fs/fuse/dax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/dax.c b/fs/fuse/dax.c index 89bf96f4fb10..a73bae6497b0 100644 --- a/fs/fuse/dax.c +++ b/fs/fuse/dax.c @@ -736,7 +736,7 @@ static ssize_t fuse_dax_direct_write(struct kiocb *iocb, struct iov_iter *from) return ret; fuse_invalidate_attr_mask(inode, FUSE_STATX_MODSIZE); - fuse_write_update_size(inode, iocb->ki_pos); + fuse_write_update_attr(inode, iocb->ki_pos); return ret; } |