md: open code md_probe in autorun_devices
authorChristoph Hellwig <hch@lst.de>
Sat, 23 Jul 2022 06:24:28 +0000 (08:24 +0200)
committerSong Liu <song@kernel.org>
Tue, 26 Jul 2022 05:03:15 +0000 (22:03 -0700)
commit895d8d712c1c176cb10e2db8fff39a24e3c512a8
treef7dc2b073bdc5f8ffa21783b0bc66a0ab292e32a
parent6e8ed646f0651bb3d2be9108c8a31a47663532a5
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>
drivers/md/md.c