diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-21 01:25:52 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-31 00:33:32 +0300 |
commit | afeee514ce7f4cab605beedd03be71ebaf0c5fc8 (patch) | |
tree | ca0a4f7ec08eec11b74e79e2f31afa8a9a836db7 /drivers/md/md-faulty.c | |
parent | d19936a26658a7a53edd5619d631ee2c2c3151a2 (diff) | |
download | linux-afeee514ce7f4cab605beedd03be71ebaf0c5fc8.tar.xz |
md: convert to bioset_init()/mempool_init()
Convert md to embedded bio sets.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/md-faulty.c')
-rw-r--r-- | drivers/md/md-faulty.c | 2 |
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; |