diff options
| author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2025-07-22 14:39:11 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-11-02 16:18:04 +0300 |
| commit | a545d81fe8fd0e2a3876940fc1462abf316a9a5b (patch) | |
| tree | 8a555ca350849047888c6992fd6f0b6bb46cd70e /scripts/gdb/linux/xarray.py | |
| parent | e587f12fff7797345054c5199fc8598c74e313ca (diff) | |
| download | linux-a545d81fe8fd0e2a3876940fc1462abf316a9a5b.tar.xz | |
btrfs: zoned: return error from btrfs_zone_finish_endio()
[ Upstream commit 3c44cd3c79fcb38a86836dea6ff8fec322a9e68c ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions
