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>
This commit is contained in:
parent
c0250d16b2
commit
a110876828
|
@ -6500,7 +6500,7 @@ static void autorun_devices(int part)
|
|||
break;
|
||||
}
|
||||
|
||||
md_probe(dev);
|
||||
md_alloc(dev, NULL);
|
||||
mddev = mddev_find(dev);
|
||||
if (!mddev)
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue