diff options
| author | NeilBrown <[email protected]> | 2016-07-13 18:03:58 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2016-07-14 15:52:56 +0000 |
| commit | b09dcf585df959cf26270e65941ea1f79a1345aa (patch) | |
| tree | 98600092d09d49797ed3abb493fb93b4dbe0cf15 /fs/jbd2/commit.c | |
| parent | nvme: avoid crashes when node 0 is memoryless node. (diff) | |
| download | kernel-b09dcf585df959cf26270e65941ea1f79a1345aa.tar.gz kernel-b09dcf585df959cf26270e65941ea1f79a1345aa.zip | |
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]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
