NVMe: Use an IDA to allocate minor numbers
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 6 May 2011 12:45:47 +0000 (08:45 -0400)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:53:03 +0000 (15:53 -0400)
The current approach of using the namespace ID as the minor number
doesn't work when there are multiple adapters in the machine.  Rather
than statically partitioning the number of namespaces between adapters,
dynamically allocate minor numbers to namespaces as they are detected.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>

No differences found