Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christoph Hellwig and committed by
Jens Axboe
a1108768 c0250d16

+1 -1
+1 -1
drivers/md/md.c
··· 6500 6500 break; 6501 6501 } 6502 6502 6503 - md_probe(dev); 6503 + md_alloc(dev, NULL); 6504 6504 mddev = mddev_find(dev); 6505 6505 if (!mddev) 6506 6506 break;