linux/drivers/nvme/host
Charles Machalow 4e50d9ebae nvme: Fix sync controller reset return
If a controller reset is requested while the device has no namespaces,
we were incorrectly returning ENETRESET. This patch adds the check for
ADMIN_ONLY controller state to indicate a successful reset.

Fixes: 8000d1fdb0  ("nvme-rdma: fix sysfs invoked reset_ctrl error flow ")
Cc: <stable@vger.kernel.org>
Signed-off-by: Charles Machalow <charles.machalow@intel.com>
[changelog]
Signed-off-by: Keith Busch <keith.busch@intel.com>
2018-05-11 10:51:45 -06:00
..
core.c nvme: Fix sync controller reset return 2018-05-11 10:51:45 -06:00
fabrics.c nvme: fix potential memory leak in option parsing 2018-05-03 09:37:50 -06:00
fabrics.h nvme: expand nvmf_check_if_ready checks 2018-04-12 09:58:27 -06:00
fault_inject.c nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
fc.c nvme: expand nvmf_check_if_ready checks 2018-04-12 09:58:27 -06:00
Kconfig nvme: depend on INFINIBAND_ADDR_TRANS 2018-04-27 11:15:43 -04:00
lightnvm.c lightnvm: remove function name in strings 2018-03-29 17:29:09 -06:00
Makefile nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
multipath.c nvme/multipath: Fix multipath disabled naming collisions 2018-05-03 09:37:50 -06:00
nvme.h nvme/multipath: Fix multipath disabled naming collisions 2018-05-03 09:37:50 -06:00
pci.c nvme-pci: Separate IO and admin queue IRQ vectors 2018-04-12 09:58:27 -06:00
rdma.c nvme: expand nvmf_check_if_ready checks 2018-04-12 09:58:27 -06:00
trace.c nvme: add tracepoint for nvme_setup_cmd 2018-01-26 12:34:40 +01:00
trace.h nvme: add tracepoint for nvme_complete_rq 2018-01-26 12:34:40 +01:00