X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=init%2Fdo_mounts.c;h=b290aadb1d3f2a0b1448a06df90bb05f75aed42f;hb=cdb8355add9b1d87ecfcb58b12879897dc1e3e36;hp=94aeec7aa917fbf727e5be22c55f842621b31ef3;hpb=c0bc8721b8d0380ec69fa97578c91201201b05a9;p=linux-2.6 diff --git a/init/do_mounts.c b/init/do_mounts.c index 94aeec7aa9..b290aadb1d 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include @@ -403,6 +404,10 @@ void __init prepare_namespace(void) ssleep(root_delay); } + /* wait for the known devices to complete their probing */ + while (driver_probe_done() != 0) + msleep(100); + md_run_setup(); if (saved_root_name[0]) {