diff options
author | Christoph Hellwig <[email protected]> | 2022-06-17 12:04:09 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-07-25 17:45:39 +0200 |
commit | 6065fd95dae1013f339c78d067eb71f0761c654b (patch) | |
tree | afa135607b189a0cf54c8291b110ef8f58aa9a72 /fs/btrfs/inode.c | |
parent | 31683f4aae4def0ecf07c77b5440833cd686bc7a (diff) |
btrfs: do not return errors from raid56_parity_recover
Always consume the bio and call the end_io handler on error instead of
returning an error and letting the caller handle it. This matches what
the block layer submission does and avoids any confusion on who
needs to handle errors.
Also use the proper bool type for the generic_io argument.
Reviewed-by: Nikolay Borisov <[email protected]>
Tested-by: Nikolay Borisov <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions