diff options
author | David Sterba <dsterba@suse.com> | 2021-07-27 12:45:11 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-05-16 17:17:31 +0200 |
commit | 572f3dad5221c98d8c8507f2b6373780751b90d9 (patch) | |
tree | 07106dc539385101b5fa90124e670b603f008207 /block/blk-map.c | |
parent | btrfs: remove unused parameter bio_flags from btrfs_wq_submit_bio (diff) | |
download | linux-572f3dad5221c98d8c8507f2b6373780751b90d9.tar.xz linux-572f3dad5221c98d8c8507f2b6373780751b90d9.zip |
btrfs: remove trivial helper update_nr_written
The helper used to do more with the wbc state but now it's just one
subtraction, no need to have a special helper.
It became trivial in a91326679f2a ("Btrfs: make mapping->writeback_index
point to the last written page").
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions