diff options
| author | Christoph Hellwig <[email protected]> | 2022-06-17 12:04:07 +0200 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-07-25 17:45:39 +0200 |
| commit | 1a722d8f5be22b0d8c9db365abb67cb3c2e4215c (patch) | |
| tree | 52801f61e2370cec43c736f4a3f57b553639e7c3 /scripts/gcc-plugins/gcc-generate-ipa-pass.h | |
| parent | 462b0b2a86c4d5a902812a449f99722e65c6cc66 (diff) | |
btrfs: do not return errors from btrfs_map_bio
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.
As this requires touching all the callers, rename the function to
btrfs_submit_bio, which describes the functionality much better.
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 'scripts/gcc-plugins/gcc-generate-ipa-pass.h')
0 files changed, 0 insertions, 0 deletions