NVMe: Bring up cdev on set feature failure
authorKeith Busch <keith.busch@intel.com>
Mon, 29 Jul 2013 22:20:56 +0000 (16:20 -0600)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 3 Sep 2013 20:32:26 +0000 (16:32 -0400)
commit7e03b124065507e72008ef294c30001eca74a031
tree48343408c9544e798cc41e3d4c0c777d21ce3e3c
parent1b56749e541ad59068582f2a28297843e243b856
NVMe: Bring up cdev on set feature failure

This patch creates the character device as long as a device's admin queues
are usable so a user has an opprotunity to perform administration tasks.
A device may be in a state that does not allow IO and setting the queue
count feature in such a state returns an error. Previously the driver
would bail and the controller would be unusable.

Signed-off-by: Keith Busch <keith.busch@intel.com>
drivers/block/nvme-core.c