commit | 572f3dad5221c98d8c8507f2b6373780751b90d9 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Tue Jul 27 12:45:11 2021 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon May 16 17:17:31 2022 +0200 |
tree | 07106dc539385101b5fa90124e670b603f008207 | |
parent | a6f5e39ee77aa54a367627caae8e47a678582a17 [diff] |
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>