kernel_optimize_test/drivers/nvme
Christoph Hellwig 100c815cbd nvme: fix srcu locking on error return in nvme_get_ns_from_disk
If we can't get a namespace don't leak the SRCU lock.  nvme_ioctl was
working around this, but nvme_pr_command wasn't handling this properly.
Just do what callers would usually expect.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
2019-05-17 11:06:59 -06:00
..
host nvme: fix srcu locking on error return in nvme_get_ns_from_disk 2019-05-17 11:06:59 -06:00
target nvmet: protect discovery change log event list iteration 2019-05-01 09:18:47 -04:00
Kconfig
Makefile