btrfs: open code end_extent_writepage in end_bio_extent_writepage
authorChristoph Hellwig <hch@lst.de>
Wed, 31 May 2023 07:54:07 +0000 (09:54 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:37 +0000 (13:59 +0200)
commit4ba8223d3d0124894578554b473bd7cc680dfd5b
treefe658ef541cabb5be8ea015fd731277523293a3c
parent122e9ede5355071359c10a8ebca138b162ef176b
btrfs: open code end_extent_writepage in end_bio_extent_writepage

This prepares for switching to more efficient ordered_extent processing
and already removes the forth and back conversion from len to end back to
len.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
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>
fs/btrfs/extent_io.c