linux-bcache.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] md: also update raid5 for bio changes.
@ 2015-09-24  0:03 Christopher James Halse Rogers
  0 siblings, 0 replies; only message in thread
From: Christopher James Halse Rogers @ 2015-09-24  0:03 UTC (permalink / raw)
  To: linux-bcache; +Cc: Christopher James Halse Rogers

This should be squashed with 2dc77339620123a838f41f1ad21b81cd6473f9b1 in the next rebase
---
 drivers/md/raid5.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index 15ef2c6..ff230b3 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -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;
-- 
2.5.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-24  0:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24  0:03 [PATCH] md: also update raid5 for bio changes Christopher James Halse Rogers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).