]> 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)
commitb1f006a82fab617f35b7b6a9ebc97f7becf23a78
tree3a5e4e18663ab1aae9444c6e71162715eb993387
parent15b31889e3b368cac8e5d1de2746ef0375dfaf21
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