[PATCH] make do_mounts_md use of msleep more robust

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <sfr@xxxxxxxxxxxxxxxx>

---
 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@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux