diff options
author | Keith Busch <keith.busch@intel.com> | 2014-03-03 11:09:47 -0700 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2014-03-24 08:15:14 -0400 |
commit | fb35e914b3f88cda9ee6f9d776910c35269c4ecf (patch) | |
tree | 0bca372b7e76d285f3ac63429743930659c69c32 /include | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions