Skip to content
Commit ba0718a6 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

nvme: don't call blk_mq_{,un}quiesce_tagset when ctrl->tagset is NULL



The NVMe drivers support a mode where no tagset is allocated for the I/O
queues and only the admin queue is usable.  In that case ctrl->tagset is
NULL and we must not call the block per-tagset quiesce helpers that
dereference it.

Fixes: 98d81f0d ("nvme: use blk_mq_[un]quiesce_tagset")
Reported-by: default avatarGerd Bayer <gbayer@linux.ibm.com>
Reported-by: default avatarChao Leng <lengchao@huawei.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarChao Leng <lengchao@huawei.com>
parent eea3e8b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment