From 399d8523186ca701c7c05b440ecdd93cf5ad4c2c Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Sun, 20 Jul 2008 16:30:29 -0700 Subject: [PATCH] --- yaml --- r: 114267 b: refs/heads/master c: 02c15def8400a974fbce02b4f2d65b38c839e88b h: refs/heads/master i: 114265: 43f4d3624326adda2cf453bd588f688aa257d772 114263: 61893fde961f78c18f9d1cee54b2c9443701d0f7 v: v3 --- [refs] | 2 +- trunk/init/do_mounts_md.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index a0c10fc27423..f1d3409bcfe8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 589f800bb12c5cd6c9167bbf9bf3cb70cd8e422c +refs/heads/master: 02c15def8400a974fbce02b4f2d65b38c839e88b diff --git a/trunk/init/do_mounts_md.c b/trunk/init/do_mounts_md.c index c0412a9dc003..1ec5c41c8a3c 100644 --- a/trunk/init/do_mounts_md.c +++ b/trunk/init/do_mounts_md.c @@ -275,7 +275,9 @@ void __init md_run_setup(void) * Since we don't want to detect and use half a raid array, we need to * wait for the known devices to complete their probing */ - while (driver_probe_done() != 0) + printk(KERN_INFO "md: Waiting for all devices to be available before autodetect\n"); + printk(KERN_INFO "md: If you don't use raid, use raid=noautodetect\n"); + while (driver_probe_done() < 0) msleep(100); int fd = sys_open("/dev/md0", 0, 0); if (fd >= 0) {