diff options
author | Christoph Hellwig <hch@lst.de> | 2023-01-11 07:23:25 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-02-15 19:38:54 +0100 |
commit | abb49e87425be0d573bdafb9a5dbe2c64719796f (patch) | |
tree | fe4dcb28967f83c8f1d69270f661abd40565835b /fs/devpts | |
parent | 79b02ec1d8ce1fafc8c39f888dbba6a3aa9a35cc (diff) |
btrfs: raid56: simplify error handling and code flow in raid56_parity_write
Handle the error return on alloc_rbio failure directly instead of using
a goto and remove the queue_rbio goto label by moving the plugged
check into the if branch.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Qu Wenruo <wqu@suse.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/devpts')
0 files changed, 0 insertions, 0 deletions