summaryrefslogtreecommitdiff
path: root/drivers/md/md-faulty.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/md-faulty.c')
-rw-r--r--drivers/md/md-faulty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md-faulty.c b/drivers/md/md-faulty.c
index 38264b38420f..c2fdf899de14 100644
--- a/drivers/md/md-faulty.c
+++ b/drivers/md/md-faulty.c
@@ -214,7 +214,7 @@ static bool faulty_make_request(struct mddev *mddev, struct bio *bio)
}
}
if (failit) {
- struct bio *b = bio_clone_fast(bio, GFP_NOIO, mddev->bio_set);
+ struct bio *b = bio_clone_fast(bio, GFP_NOIO, &mddev->bio_set);
bio_set_dev(b, conf->rdev->bdev);
b->bi_private = bio;