NVMe: Fix io incapable return values
authorKeith Busch <keith.busch@intel.com>
Thu, 11 Feb 2016 20:05:39 +0000 (13:05 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 11 Feb 2016 20:14:02 +0000 (13:14 -0700)
commit4f76d0e49835d3da33aa54811157421f7061805e
treecd914b2fb99dec0063feff0e770e321720d69b24
parenta59e0f5795fe52dad42a99c00287e3766153b312
NVMe: Fix io incapable return values

The function returns true when the controller can't handle IO.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/nvme.h