commit | 5eecef7108350f6506a55d8fd9508ea32caeecad | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Jun 03 08:57:42 2022 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Jul 25 17:45:34 2022 +0200 |
tree | 4f288c3b71782a4f55cf8ec6569410062bbfb2e1 | |
parent | dc4d31684974d140250f3ee612c3f0cab13b3146 [diff] |
btrfs: stop looking at btrfs_bio->iter in index_one_bio All the bios that index_one_bio operates on are the bios submitted by the upper layer. These are never resubmitted to an actual device by the raid56 code, and thus the iter never changes from the initial state. Thus we can always just use bi_iter directly as it will be the same as the saved copy. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David Sterba <dsterba@suse.com>