Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NVMe: don't allocate unused nvme_major
When alloc_disk(0) is used, the ->major number is ignored. All device numbers are allocated with a major of BLOCK_EXT_MAJOR. So remove all references to nvme_major. [[email protected]: one unregister_blkdev() was missed] Link: http://lkml.kernel.org/r/20160602064318.4403.93301.stgit@noble Signed-off-by: NeilBrown <[email protected]> Reviewed-by: Keith Busch <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Maxim Levitsky <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information