btrfs: raid56: simplify code flow in rmw_rbio
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Jan 2023 06:23:26 +0000 (07:23 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 15 Feb 2023 18:38:54 +0000 (19:38 +0100)
commit4d7627010bc24f68d617c1c455e12a3dfcffcb2c
treeafad2c5d3b2a253dd03291f9780426d22c8c2844
parentabb49e87425be0d573bdafb9a5dbe2c64719796f
btrfs: raid56: simplify code flow in rmw_rbio

Remove the write goto label by moving the data page allocation and data
read into the branch.

Reviewed-by: Qu Wenruo <wqu@suse.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>
fs/btrfs/raid56.c