[lkml]   [2008]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] make do_mounts_md use of msleep more robust
Commit 589f800bb12c5cd6c9167bbf9bf3cb70cd8e422c ("fastboot: make the raid
autodetect code wait for all devices to init") added a call to msleep to
do_mounts_md.c but the declaration of that was only included implicitly
through linux/raid/md.h. Make the include of linux/delay.h explicit.

Signed-off-by: Stephen Rothwell <>

init/do_mounts_md.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

Discovered when commit 6caa3b0bbdb474647f6bdd8a958ffc46f78d8d58 ("md:
Remove unnecessary #includes, #defines, and function declarations") was
added to linux-next from the md tree.

diff --git a/init/do_mounts_md.c b/init/do_mounts_md.c
index 48b3fad..cbc447d 100644
--- a/init/do_mounts_md.c
+++ b/init/do_mounts_md.c
@@ -1,4 +1,5 @@

+#include <linux/delay.h>
#include <linux/raid/md.h>

#include "do_mounts.h"
Stephen Rothwell

 \ /
  Last update: 2008-10-15 11:17    [W:0.032 / U:1.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site