diff options
| author | 2025-07-22 13:39:10 +0200 | |
|---|---|---|
| committer | 2025-09-22 10:54:30 +0200 | |
| commit | 3d16abf6c88ae20cc4168756e77ad270a9b37182 (patch) | |
| tree | 001b88c72edf791aac1a1f19b402811958a0cc44 /fs/btrfs/compression.c | |
| parent | btrfs: collapse unaccount_log_buffer() into clean_log_buffer() (diff) | |
| download | wireguard-linux-3d16abf6c88ae20cc4168756e77ad270a9b37182.tar.xz wireguard-linux-3d16abf6c88ae20cc4168756e77ad270a9b37182.zip | |
btrfs: zoned: directly call do_zone_finish() from btrfs_zone_finish_endio_workfn()
When btrfs_zone_finish_endio_workfn() is calling btrfs_zone_finish_endio()
it already has a pointer to the block group. Furthermore
btrfs_zone_finish_endio() does additional checks if the block group can be
finished or not.
But in the context of btrfs_zone_finish_endio_workfn() only the actual
call to do_zone_finish() is of interest, as the skipping condition when
there is still room to allocate from the block group cannot be checked.
Directly call do_zone_finish() on the block group.
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions
