2006-01-14 19:55:11

by Adrian Bunk

[permalink] [raw]
Subject: [-mm patch] fs/ocfs2/dlm/dlmrecovery.c must #include <linux/delay.h>

fs/ocfs2/dlm/dlmrecovery.c does now use msleep(), and does therefore
need to #include <linux/delay.h> for getting the prototype of this
function.


Signed-off-by: Adrian Bunk <[email protected]>

--- linux-2.6.15-mm4-full/fs/ocfs2/dlm/dlmrecovery.c.old 2006-01-14 16:44:15.000000000 +0100
+++ linux-2.6.15-mm4-full/fs/ocfs2/dlm/dlmrecovery.c 2006-01-14 16:45:06.000000000 +0100
@@ -39,6 +39,7 @@
#include <linux/inet.h>
#include <linux/timer.h>
#include <linux/kthread.h>
+#include <linux/delay.h>


#include "cluster/heartbeat.h"


2006-01-16 06:32:09

by Mark Fasheh

[permalink] [raw]
Subject: Re: [-mm patch] fs/ocfs2/dlm/dlmrecovery.c must #include <linux/delay.h>

On Sat, Jan 14, 2006 at 08:55:10PM +0100, Adrian Bunk wrote:
> fs/ocfs2/dlm/dlmrecovery.c does now use msleep(), and does therefore
> need to #include <linux/delay.h> for getting the prototype of this
> function.
That looks good - thanks Adrian.
--Mark

--
Mark Fasheh
Senior Software Developer, Oracle
[email protected]