Skip to contentSkip to conversation

md: also update raid5 for bio changes.

PATCH New Christopher James Halse Rogers 1 participant 1 message Sep 24, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 md: also update raid5 for bio changes.

This should be squashed with 2dc77339620123a838f41f1ad21b81cd6473f9b1 in the next rebase

---
 drivers/md/raid5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/raid5.c +1 -1
index 15ef2c6..ff230b3 100644
@@ -4851,7 +4851,7 @@ static struct bio *chunk_aligned_read(struct mddev *mddev, struct bio *raid_bio)
 		unsigned sectors = chunk_sects - (sector & (chunk_sects-1));
 
 		if (sectors < bio_sectors(raid_bio)) {
-			split = bio_split(raid_bio, sectors, GFP_NOIO, fs_bio_set);
+			split = bio_split(raid_bio, sectors, GFP_NOIO, &fs_bio_set);
 			bio_chain(split, raid_bio);
 		} else
 			split = raid_bio;
Signature · 1 line
2.5.0