Re: [PATCH 4/4] NVMe: don't allocate unused nvme_major

2016-03-10 Thread Johannes Thumshirn
On Thu, Mar 10, 2016 at 08:59:28AM +1100, NeilBrown wrote: > 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. > > Signed-off-by: NeilBrown Reviewed-by: Johannes Thumshirn

[PATCH 4/4] NVMe: don't allocate unused nvme_major

2016-03-09 Thread NeilBrown
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. Signed-off-by: NeilBrown --- drivers/nvme/host/core.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) d