Skip to contentSkip to conversation

btrfs:remove redundant index_rbio_pages in raid56_rmw_stripe

PATCH New Flint.Wang 1 participant 1 message Sep 29, 2022 Btrfs file system

lore
Share & tools
lore

Flint.Wang

author
#0 lore raw

PATCH 1/1 btrfs:remove redundant index_rbio_pages in raid56_rmw_stripe

The index_rbio_pages in raid56_rmw_stripe is redundant. It is invoked in finish_rmw anyway.

---
 fs/btrfs/raid56.c | 2 --
 1 file changed, 2 deletions(-)
fs/btrfs/raid56.c +0 -2
index f6395e8288d69..44266b2c5b86e 100644
@@ -1546,8 +1546,6 @@ static int raid56_rmw_stripe(struct btrfs_raid_bio *rbio)
 	if (ret)
 		goto cleanup;
 
-	index_rbio_pages(rbio);
-
 	atomic_set(&rbio->error, 0);
 	/* Build a list of bios to read all the missing data sectors. */
 	for (total_sector_nr = 0; total_sector_nr < nr_data_sectors;
Signature · 1 line
2.37.0