commit | fb35e914b3f88cda9ee6f9d776910c35269c4ecf | [log] [tgz] |
---|---|---|
author | Keith Busch <keith.busch@intel.com> | Mon Mar 03 11:09:47 2014 -0700 |
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | Mon Mar 24 08:15:14 2014 -0400 |
tree | 0bca372b7e76d285f3ac63429743930659c69c32 | |
parent | 671a6018db1d359254c8201704cf967efb42fc25 [diff] |
NVMe: Initialize device reference count earlier If an NVMe device becomes ready but fails to create IO queues, the driver creates a character device handle so the device can be managed. The device reference count needs to be initialized before creating the character device. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>