lkml.org 
[lkml]   [2005]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 25 May 2005 23:51:22 +0200
FromBrice Goglin <>
SubjectRe: 2.6.12-rc5-mm1
Andrew Morton a écrit :
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc5/2.6.12-rc5-mm1/

Hi Andrew,

It looks like dlm assumes that CONFIG_DLM_DEBUG is set.
The attached patch fixes this.

Regards,
Brice
--- linux-mm/drivers/dlm/main.c.old 2005-05-25 23:44:27.000000000 +0200
+++ linux-mm/drivers/dlm/main.c 2005-05-25 23:46:41.000000000 +0200
@@ -19,8 +19,20 @@
#include "memory.h"
#include "lowcomms.h"

+#ifdef CONFIG_DLM_DEBUG
int dlm_register_debugfs(void);
void dlm_unregister_debugfs(void);
+#else
+int dlm_register_debugfs(void)
+{
+ return 0;
+}
+
+void dlm_unregister_debugfs(void)
+{
+}
+#endif
+
int dlm_node_ioctl_init(void);
void dlm_node_ioctl_exit(void);
\
 
 \ /
  Last update: 2005-05-25 23:55    [from the cache]
©2003-2010