fs/ocfs2/dlm/dlmrecovery.c must #include <linux/delay.h>
PATCH 1/1 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]>
fs/ocfs2/dlm/dlmrecovery.c renamed from fs/ocfs2/dlm/dlmrecovery.c.old +1 -0
@@ -39,6 +39,7 @@#include <linux/inet.h> #include <linux/timer.h> #include <linux/kthread.h> +#include <linux/delay.h> #include "cluster/heartbeat.h"
Quoted 3 lines · Adrian Bunk
fs/ocfs2/dlm/dlmrecovery.cdoes now usemsleep(), 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
mark.fasheh at oracle.com