nvme-pci: set cqe_seen on polled completions
authorKeith Busch <keith.busch@intel.com>
Thu, 17 Aug 2017 20:45:06 +0000 (16:45 -0400)
committerChristoph Hellwig <hch@lst.de>
Fri, 18 Aug 2017 07:19:39 +0000 (09:19 +0200)
commite9d8a0fdeacd843c85dcef480cdb2ab76bcdb6e4
treea0abd84c323fd92b2e267c989334bc1d8715f2ee
parent81a0b8d74edd5841be29d223ce44bc8db2b00d09
nvme-pci: set cqe_seen on polled completions

Fixes: 920d13a884 ("nvme-pci: factor out the cqe reading mechanics from __nvme_process_cq")
Reported-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c