X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=init%2Fdo_mounts.c;h=b6237c31b0e2469cac9b2287cecb6932ad49462e;hb=29aaee65bc28cc75281dc9fe0998cc5e10ac37f9;hp=82f22885c87e995c3d18f6a0080bf639d99d9331;hpb=af5666e0f76023d9c296016024297903a4c83108;p=deliverable%2Flinux.git diff --git a/init/do_mounts.c b/init/do_mounts.c index 82f22885c87e..b6237c31b0e2 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -539,12 +539,6 @@ void __init prepare_namespace(void) { int is_floppy; - if (root_delay) { - printk(KERN_INFO "Waiting %d sec before mounting root device...\n", - root_delay); - ssleep(root_delay); - } - /* * wait for the known devices to complete their probing * @@ -571,6 +565,12 @@ void __init prepare_namespace(void) if (initrd_load()) goto out; + if (root_delay) { + pr_info("Waiting %d sec before mounting root device...\n", + root_delay); + ssleep(root_delay); + } + /* wait for any asynchronous scanning to complete */ if ((ROOT_DEV == 0) && root_wait) { printk(KERN_INFO "Waiting for root device %s...\n",