]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: stop using the btrfs_bio saved iter in index_rbio_pages
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Apr 2022 04:45:28 +0000 (06:45 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:12 +0000 (17:03 +0200)
commitfe330305043f0b89132237fc0bbef66a040ebe90
treeac667de16af8cd89add5778330a96a85b81ec9fb
parent20a2326a1d26404ec3b431d9a1868efdc78ac918
btrfs: stop using the btrfs_bio saved iter in index_rbio_pages

The bios added to ->bio_list are the original bios fed into
btrfs_map_bio, which are never advanced.  Just use the iter in the
bio itself.

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>
fs/btrfs/raid56.c