]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/nvme/host/pci.c
nvme-pci: Sync queues on reset
[mirror_ubuntu-bionic-kernel.git] / drivers / nvme / host / pci.c
index fed64c35814de6ea1672ee18f7c0e4924594f9bf..c108e603c66c0696d02f80f11185f8608ce68a73 100644 (file)
@@ -2327,6 +2327,7 @@ static void nvme_reset_work(struct work_struct *work)
         */
        if (dev->ctrl.ctrl_config & NVME_CC_ENABLE)
                nvme_dev_disable(dev, false);
+       nvme_sync_queues(&dev->ctrl);
 
        result = nvme_pci_enable(dev);
        if (result)