diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-10-17 18:41:05 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-11-25 00:04:30 +0300 |
| commit | 063171a4f0fa25fe47331b4fee3f705484f1c690 (patch) | |
| tree | e26fc5b88fafe112b5aa34ebf13d8a908627cd2b /include | |
| parent | 988f693a46d83dc832005a1403ae0471eb1f8964 (diff) | |
| download | linux-063171a4f0fa25fe47331b4fee3f705484f1c690.tar.xz | |
btrfs: return real error when failing tickets in maybe_fail_all_tickets()
In case we had a transaction abort we set a ticket's error to -EIO, but we
have the real error that caused the transaction to be aborted returned by
the macro BTRFS_FS_ERROR(). So use that real error instead of -EIO.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
