summaryrefslogtreecommitdiff
path: root/drivers/lightnvm/pblk-recovery.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-05-21 01:25:50 +0300
committerJens Axboe <axboe@kernel.dk>2018-05-31 00:33:32 +0300
commitb906bbb6997785d9ea0bd3f5585537afa6257c43 (patch)
tree200a8a5225326e11ee47a40b7481f2734cba38cd /drivers/lightnvm/pblk-recovery.c
parent64c4bc4de79fec06bb46d9827e7c4df67a025590 (diff)
downloadlinux-b906bbb6997785d9ea0bd3f5585537afa6257c43.tar.xz
lightnvm: convert to bioset_init()/mempool_init()
Convert lightnvm to embedded bio sets. Reviewed-by: Javier González <javier@cnexlabs.com> Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/pblk-recovery.c')
-rw-r--r--drivers/lightnvm/pblk-recovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lightnvm/pblk-recovery.c b/drivers/lightnvm/pblk-recovery.c
index 3e079c2afa6e..364ad52a5bfb 100644
--- a/drivers/lightnvm/pblk-recovery.c
+++ b/drivers/lightnvm/pblk-recovery.c
@@ -60,7 +60,7 @@ void pblk_submit_rec(struct work_struct *work)
goto err;
}
- mempool_free(recovery, pblk->rec_pool);
+ mempool_free(recovery, &pblk->rec_pool);
return;
err: