summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-init.c')
-rw-r--r--drivers/md/dm-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-init.c b/drivers/md/dm-init.c
index 5ca15528e5be..5eb215f3d248 100644
--- a/drivers/md/dm-init.c
+++ b/drivers/md/dm-init.c
@@ -296,7 +296,7 @@ static int __init dm_init_init(void)
if (waitfor[i]) {
DMINFO("waiting for device %s ...", waitfor[i]);
while (!dm_get_dev_t(waitfor[i]))
- msleep(5);
+ fsleep(5000);
}
}