summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-05-20 18:25:52 -0400
committerJens Axboe <axboe@kernel.dk>2018-05-30 15:33:32 -0600
commitafeee514ce7f4cab605beedd03be71ebaf0c5fc8 (patch)
treeca0a4f7ec08eec11b74e79e2f31afa8a9a836db7 /drivers/md/raid10.h
parentd19936a26658a7a53edd5619d631ee2c2c3151a2 (diff)
downloadlinux-afeee514ce7f4cab605beedd03be71ebaf0c5fc8.tar.gz
linux-afeee514ce7f4cab605beedd03be71ebaf0c5fc8.tar.bz2
linux-afeee514ce7f4cab605beedd03be71ebaf0c5fc8.zip
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/raid10.h')
-rw-r--r--drivers/md/raid10.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/raid10.h b/drivers/md/raid10.h
index e2e8840de9bf..d3eaaf3eb1bc 100644
--- a/drivers/md/raid10.h
+++ b/drivers/md/raid10.h
@@ -93,10 +93,10 @@ struct r10conf {
*/
wait_queue_head_t wait_barrier;
- mempool_t *r10bio_pool;
- mempool_t *r10buf_pool;
+ mempool_t r10bio_pool;
+ mempool_t r10buf_pool;
struct page *tmppage;
- struct bio_set *bio_split;
+ struct bio_set bio_split;
/* When taking over an array from a different personality, we store
* the new thread here until we fully activate the array.