aboutsummaryrefslogtreecommitdiff
path: root/io_uring/fdinfo.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-06-28 17:31:26 +0200
committerDavid Sterba <dsterba@suse.com>2023-08-21 14:52:14 +0200
commit9783e4deed7291996459858a1a16f41a8988dd60 (patch)
tree64617c723f4e8a6e1ca6be4f85beb052e601741b /io_uring/fdinfo.h
parent6648cedd86135db197410e56b5372b2945f2b311 (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 <josef@toxicpanda.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'io_uring/fdinfo.h')
0 files changed, 0 insertions, 0 deletions