diff options
author | Christoph Hellwig <hch@lst.de> | 2022-06-17 12:04:13 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-07-25 17:45:40 +0200 |
commit | 37899117e8a000bc2d8395e1b2f01e68682ec85e (patch) | |
tree | 22081983b659a91786c3e845891fd0f6537cb767 /fs/btrfs/block-rsv.c | |
parent | ea1f0cedefe9abd903a35900e4c1ba3e0413b017 (diff) | |
download | linux-37899117e8a000bc2d8395e1b2f01e68682ec85e.tar.gz linux-37899117e8a000bc2d8395e1b2f01e68682ec85e.tar.bz2 linux-37899117e8a000bc2d8395e1b2f01e68682ec85e.zip |
btrfs: do not return errors from btrfs_submit_dio_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 and the other btrfs bio submission handlers do
and avoids any confusion on who needs to handle errors.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Tested-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/block-rsv.c')
0 files changed, 0 insertions, 0 deletions