btrfs: raid56: handle endio in recover_rbio
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Jan 2023 06:23:33 +0000 (07:23 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 15 Feb 2023 18:38:54 +0000 (19:38 +0100)
commit40f87ddb5dbe43fb209901815d24e3e718aef155
tree04b68fd37f25d8456d5e5bcbc87444a25c7f05b1
parent1d0ef1ca119f1a1fbcf5be5acce407147cb15245
btrfs: raid56: handle endio in recover_rbio

Both callers of recover_rbio call rbio_orig_end_io right after it, so
move the call into the shared function.

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