]> www.infradead.org Git - users/hch/block.git/commit
md: use __register_blkdev to allocate devices on demand
authorChristoph Hellwig <hch@lst.de>
Sun, 23 Aug 2020 14:54:19 +0000 (16:54 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Oct 2020 08:40:34 +0000 (09:40 +0100)
commit23ecb0de0ce44b854786baa42b01c46825fe20a2
tree499a65e97edb41987e3b57f6dc55fd1d64918f33
parentcec81ebfb622616f62b9d6c5633e05ad9de57f04
md: use __register_blkdev to allocate devices on demand

Use the simpler mechanism attached to major_name to allocate a md device
when a currently unregistered minor is accessed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Song Liu <song@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/md/md.c