]> git.baikalelectronics.ru Git - kernel.git/commit
md: open code md_probe in autorun_devices
authorChristoph Hellwig <hch@lst.de>
Sat, 23 Jul 2022 06:24:28 +0000 (08:24 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:22:46 +0000 (17:22 -0600)
commita110876828f5de63be657c62a33c8f61ececfb33
tree3a5e4e18663ab1aae9444c6e71162715eb993387
parentc0250d16b22e6c1cf074720b386280c03eebff87
md: open code md_probe in autorun_devices

autorun_devices should not be limited to the controls for the legacy
probe on open, so just call md_alloc directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-and-tested-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/md.c