diff options
| author | Christoph Hellwig <[email protected]> | 2023-06-28 17:31:26 +0200 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-08-21 14:52:14 +0200 |
| commit | 9783e4deed7291996459858a1a16f41a8988dd60 (patch) | |
| tree | 64617c723f4e8a6e1ca6be4f85beb052e601741b /tools/perf/scripts/python/bin | |
| parent | 6648cedd86135db197410e56b5372b2945f2b311 (diff) | |
btrfs: remove end_extent_writepage
end_extent_writepage is a small helper that combines a call to
btrfs_mark_ordered_io_finished with conditional error-only calls to
btrfs_page_clear_uptodate and mapping_set_error with a somewhat
unfortunate calling convention that passes and inclusive end instead
of the len expected by the underlying functions.
Remove end_extent_writepage and open code it in the 4 callers. Out
of those two already are error-only and thus don't need the extra
conditional, and one already has the mapping_set_error, so a duplicate
call can be avoided.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions