Skip to contentSkip to conversation

cluster/gfs-kernel/src/dlm main.c

Cluster-devel [email protected] 1 participant 1 message Feb 1, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: cfeist at sourceware.org 2007-02-01 20:43:33

Modified files:
gfs-kernel/src/dlm: main.c

Log message:
- Fixed a build issue on ppc64 cause by a function named debug_info, function has been renamed to lock_dlm_debug_info.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/dlm/main.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.7&r2=1.7.2.1

gfs-kernel/src/dlm/Attic/main.c +2 -2
@@ -130,7 +130,7 @@
 EXPORT_SYMBOL(lock_dlm_debug_dump);
 
 #ifdef CONFIG_PROC_FS
-static int debug_info(char *b, char **start, off_t offset, int length)
+static int lock_dlm_debug_info(char *b, char **start, off_t offset, int length)
 {
 	int i, n = 0;
 
@@ -230,7 +230,7 @@
 	p = create_proc_entry("debug", 0444, proc_dir);
 	if (!p)
 		goto out;
-	p->get_info = debug_info;
+	p->get_info = lock_dlm_debug_info;
 	p->owner = THIS_MODULE;
 	debug = p;