diff options
Diffstat (limited to 'drivers/block/nvme-core.c')
-rw-r--r-- | drivers/block/nvme-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c index 5d44c9344522..c1e3c1a101b8 100644 --- a/drivers/block/nvme-core.c +++ b/drivers/block/nvme-core.c | |||
@@ -1230,7 +1230,7 @@ static void nvme_free_queues(struct nvme_dev *dev, int lowest) | |||
1230 | 1230 | ||
1231 | for (i = dev->queue_count - 1; i >= lowest; i--) { | 1231 | for (i = dev->queue_count - 1; i >= lowest; i--) { |
1232 | nvmeq = raw_nvmeq(dev, i); | 1232 | nvmeq = raw_nvmeq(dev, i); |
1233 | rcu_assign_pointer(dev->queues[i], NULL); | 1233 | RCU_INIT_POINTER(dev->queues[i], NULL); |
1234 | llist_add(&nvmeq->node, &q_list); | 1234 | llist_add(&nvmeq->node, &q_list); |
1235 | dev->queue_count--; | 1235 | dev->queue_count--; |
1236 | } | 1236 | } |