linux_old1/drivers/memstick/core
NeilBrown ca945e7152 memstick: don't allocate unused major for ms_block
When alloc_disk(0) is used the ->major number is completely ignored.
All devices are allocated with a major of BLOCK_EXT_MAJOR.

So remove registration and deregistration of 'major'.

Link: http://lkml.kernel.org/r/20160602064318.4403.49955.stgit@noble
Signed-off-by: NeilBrown <neilb@suse.com>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Jens Axboe <axboe@fb.com>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-08-02 17:31:41 -04:00
..
Kconfig memstick: add support for legacy memorysticks 2013-09-11 15:59:35 -07:00
Makefile memstick: add support for legacy memorysticks 2013-09-11 15:59:35 -07:00
memstick.c tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
ms_block.c memstick: don't allocate unused major for ms_block 2016-08-02 17:31:41 -04:00
ms_block.h memstick: trivial fix of spelling mistake on management 2016-04-28 10:58:33 +02:00
mspro_block.c memstick: don't allow REQ_TYPE_BLOCK_PC requests 2016-07-20 17:38:27 -06:00