diff options
author | Joanne Koong <joannelkoong@gmail.com> | 2024-08-26 14:19:03 -0700 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2024-08-29 11:43:12 +0200 |
commit | c04e3b2118192384153b4eac595768e2ffb7ac4a (patch) | |
tree | 3bd0d904fa8e94fc44ea5020d212068791b54c4e /fs/reiserfs | |
parent | 509a6458b44f72bb6854854c89cf76e56f11c9f1 (diff) |
fuse: refactor finished writeback stats updates into helper function
Move the logic for updating the bdi and page stats for a finished
writeback into a separate helper function, where it can be called from
both fuse_writepage_finish() and fuse_writepage_add() (in the case
where there is already an auxiliary write request for the page).
No functional changes added.
Suggested by: Jingbo Xu <jefflexu@linux.alibaba.com>
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions