aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/compression.c
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2025-07-22 13:39:11 +0200
committerDavid Sterba <dsterba@suse.com>2025-09-22 10:54:30 +0200
commit3c44cd3c79fcb38a86836dea6ff8fec322a9e68c (patch)
tree1625524004013fe7681baf0543c537a248de9254 /fs/btrfs/compression.c
parentbtrfs: zoned: directly call do_zone_finish() from btrfs_zone_finish_endio_workfn() (diff)
downloadwireguard-linux-3c44cd3c79fcb38a86836dea6ff8fec322a9e68c.tar.xz
wireguard-linux-3c44cd3c79fcb38a86836dea6ff8fec322a9e68c.zip
btrfs: zoned: return error from btrfs_zone_finish_endio()
Now that btrfs_zone_finish_endio_workfn() is directly calling do_zone_finish() the only caller of btrfs_zone_finish_endio() is btrfs_finish_one_ordered(). btrfs_finish_one_ordered() already has error handling in-place so btrfs_zone_finish_endio() can return an error if the block group lookup fails. Also as btrfs_zone_finish_endio() already checks for zoned filesystems and returns early, there's no need to do this in the caller. 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