nvme: don't pass the full CQE to nvme_complete_async_event
authorChristoph Hellwig <hch@lst.de>
Thu, 10 Nov 2016 15:32:34 +0000 (07:32 -0800)
committerJens Axboe <axboe@fb.com>
Thu, 10 Nov 2016 17:06:26 +0000 (10:06 -0700)
commit7bf58533a0bc257edff883619befe7e5a1e8caca
tree0ffacc930004c83ee064ae0bb9a035b6744a04e4
parentd49187e97e94e2eb613cb6fed810356972077cc3
nvme: don't pass the full CQE to nvme_complete_async_event

We only need the status and result fields, and passing them explicitly
makes life a lot easier for the Fibre Channel transport which doesn't
have a full CQE for the fast path case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c
drivers/nvme/host/rdma.c
drivers/nvme/target/loop.c