summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/bset.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-05-21 01:25:51 +0300
committerJens Axboe <axboe@kernel.dk>2018-05-31 00:33:32 +0300
commitd19936a26658a7a53edd5619d631ee2c2c3151a2 (patch)
tree376defd02af45bfee0462727fd7ed0eefcb2e712 /drivers/md/bcache/bset.h
parentb906bbb6997785d9ea0bd3f5585537afa6257c43 (diff)
downloadlinux-d19936a26658a7a53edd5619d631ee2c2c3151a2.tar.xz
bcache: convert to bioset_init()/mempool_init()
Convert bcache to embedded bio sets. Reviewed-by: Coly Li <colyli@suse.de> Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/bcache/bset.h')
-rw-r--r--drivers/md/bcache/bset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/bset.h b/drivers/md/bcache/bset.h
index 0c24280f3b98..b867f2200495 100644
--- a/drivers/md/bcache/bset.h
+++ b/drivers/md/bcache/bset.h
@@ -347,7 +347,7 @@ static inline struct bkey *bch_bset_search(struct btree_keys *b,
/* Sorting */
struct bset_sort_state {
- mempool_t *pool;
+ mempool_t pool;
unsigned page_order;
unsigned crit_factor;