[PATCH] make do_mounts_md use of msleep more robust

DORMANTno replies

From: Stephen Rothwell <hidden>
Date: 2008-10-15 09:14:57
Also in: lkml
Subsystem: filesystems (vfs and infrastructure), the rest · Maintainers: Alexander Viro, Christian Brauner, Linus Torvalds

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 <redacted>

---
 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"
-- 
1.5.6.5

Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help