Re: [PATCH 5.12 037/127] btrfs: zoned: pass start block to btrfs_use_zone_append

From: David Sterba
Date: Tue May 25 2021 - 08:04:14 EST


On Mon, May 24, 2021 at 05:25:54PM +0200, Greg Kroah-Hartman wrote:
> From: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>
>
> commit e380adfc213a13677993c0e35cb48f5a8e61ebb0 upstream.
>
> btrfs_use_zone_append only needs the passed in extent_map's block_start
> member, so there's no need to pass in the full extent map.
>
> This also enables the use of btrfs_use_zone_append in places where we only
> have a start byte but no extent_map.
>
> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>
> Reviewed-by: David Sterba <dsterba@xxxxxxxx>
> Signed-off-by: David Sterba <dsterba@xxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

As this is a prerequisite for the other patch, please drop it from
stable queue as well, thanks.