summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/core.c
diff options
context:
space:
mode:
authorBart Van Assche2018-02-28 19:15:31 +0100
committerJens Axboe2018-02-28 20:23:35 +0100
commit5ee0524ba137fe928a88b440d014e3c8451fb32c (patch)
treeee4a8f97f8b4d5e80afed0b1160d22150faf5d72 /drivers/lightnvm/core.c
parentzram: Delete gendisk before cleaning up the request queue (diff)
downloadkernel-qcow2-linux-5ee0524ba137fe928a88b440d014e3c8451fb32c.tar.gz
kernel-qcow2-linux-5ee0524ba137fe928a88b440d014e3c8451fb32c.tar.xz
kernel-qcow2-linux-5ee0524ba137fe928a88b440d014e3c8451fb32c.zip
block: Add 'lock' as third argument to blk_alloc_queue_node()
This patch does not change any functionality. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Philipp Reisner <philipp.reisner@linbit.com> Cc: Ulf Hansson <ulf.hansson@linaro.org> Cc: Kees Cook <keescook@chromium.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/core.c')
-rw-r--r--drivers/lightnvm/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/lightnvm/core.c b/drivers/lightnvm/core.c
index dcc9e621e651..5f1988df1593 100644
--- a/drivers/lightnvm/core.c
+++ b/drivers/lightnvm/core.c
@@ -384,7 +384,7 @@ static int nvm_create_tgt(struct nvm_dev *dev, struct nvm_ioctl_create *create)
goto err_dev;
}
- tqueue = blk_alloc_queue_node(GFP_KERNEL, dev->q->node);
+ tqueue = blk_alloc_queue_node(GFP_KERNEL, dev->q->node, NULL);
if (!tqueue) {
ret = -ENOMEM;
goto err_disk;