diff options
author | Keith Busch <keith.busch@intel.com> | 2014-03-03 19:09:47 +0100 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2014-03-24 13:15:14 +0100 |
commit | fb35e914b3f88cda9ee6f9d776910c35269c4ecf (patch) | |
tree | 0bca372b7e76d285f3ac63429743930659c69c32 /kernel/configs.c | |
parent | NVMe: Add CONFIG_PM_SLEEP to suspend/resume functions (diff) | |
download | linux-fb35e914b3f88cda9ee6f9d776910c35269c4ecf.tar.xz linux-fb35e914b3f88cda9ee6f9d776910c35269c4ecf.zip |
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 'kernel/configs.c')
0 files changed, 0 insertions, 0 deletions