btrfs: raid56: handle endio in rmw_rbio
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Jan 2023 06:23:32 +0000 (07:23 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 15 Feb 2023 18:38:54 +0000 (19:38 +0100)
commit1d0ef1ca119f1a1fbcf5be5acce407147cb15245
treeabd320f8d5ac4be7e7b3b297528292dac61626c8
parent52f0c198645c68b80536384b7e666c4c56777b5e
btrfs: raid56: handle endio in rmw_rbio

Both callers of rmv_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