btrfs: refactor end_bio_extent_readpage code flow
authorChristoph Hellwig <hch@lst.de>
Sun, 22 May 2022 11:47:51 +0000 (13:47 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:44:34 +0000 (17:44 +0200)
commit97861cd1660de638e6fd588030afe8965ebfbe90
treeb1a8a678254c1248fbbb76512d24352279a7f26b
parenta5aa7ab6e77b2267638dec6a9522b57421522d8c
btrfs: refactor end_bio_extent_readpage code flow

Untangle the goto and move the code it jumps to so it goes in the order
of the most likely states first.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
[ update changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c