commit | abb49e87425be0d573bdafb9a5dbe2c64719796f | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Jan 11 07:23:25 2023 +0100 |
committer | David Sterba <dsterba@suse.com> | Wed Feb 15 19:38:54 2023 +0100 |
tree | fe4dcb28967f83c8f1d69270f661abd40565835b | |
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>