diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-07-10 09:22:29 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-08-28 21:38:24 +0200 |
commit | 34b6c2315eb66e6411261aa440f6e3c4cded3506 (patch) | |
tree | 2fc7d92c6687e02cf94ae50722fab3e08e21d369 /drivers/nvme/host/pci.c | |
parent | 90af35123d3be8b011a8a3f69ce46fd431c55b25 (diff) | |
download | linux-34b6c2315eb66e6411261aa440f6e3c4cded3506.tar.gz |
nvme: Add admin_tagset pointer to nvme_ctrl
Will be used when we centralize control flows.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/pci.c')
-rw-r--r-- | drivers/nvme/host/pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 925467b31a33..e6283745ecd2 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -1376,6 +1376,7 @@ static int nvme_alloc_admin_tags(struct nvme_dev *dev) if (blk_mq_alloc_tag_set(&dev->admin_tagset)) return -ENOMEM; + dev->ctrl.admin_tagset = &dev->admin_tagset; dev->ctrl.admin_q = blk_mq_init_queue(&dev->admin_tagset); if (IS_ERR(dev->ctrl.admin_q)) { |