diff options
author | Christoph Hellwig <hch@lst.de> | 2023-01-21 07:50:03 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-02-15 19:38:51 +0100 |
commit | 9ba0004bd95e059983b4ca8defad82ab41627e51 (patch) | |
tree | fa358bf9a603b08239f93359bc25fe905653e1a2 /fs/btrfs/compression.c | |
parent | 4ae2edf12d49fdbaea2dfda0bb2ec06501bd3493 (diff) |
btrfs: refactor error handling in btrfs_submit_bio
Add a bbio local variable and to prepare for calling functions that
return a blk_status_t, rename the existing int used for error handling
so that ret can be reused for the blk_status_t, and a label that can be
reused for failing the passed in bio.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions