[Pvfs2-cvs] commit by bligon in pvfs2/src/common/gossip: gossip.h

CVS commit program cvs at parl.clemson.edu
Wed Feb 3 13:14:55 EST 2010


Update of /projects/cvsroot/pvfs2/src/common/gossip
In directory parlweb1:/tmp/cvs-serv29601/src/common/gossip

Modified Files:
	gossip.h 
Log Message:
When the kernel module is loaded with a debug mask parameter, the code accepts the parameter
into a 32-bit variable, which is then cast into a 64-bit parameter.  The insmod command
does not handle 64-bit input parameters, but the kernel gossip_debug_mask should be a 64-bit
value to acccomodate the existing gossip-debug functions.  
 Modified Files:
 	src/common/gossip/gossip.h src/io/dev/pint-dev.c 
 	src/kernel/linux-2.6/devpvfs2-req.c 
 	src/kernel/linux-2.6/pvfs2-mod.c 


Index: gossip.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/common/gossip/gossip.h,v
diff -p -u -r1.25 -r1.26
--- gossip.h	22 Jul 2007 16:15:01 -0000	1.25
+++ gossip.h	3 Feb 2010 18:14:55 -0000	1.26
@@ -49,7 +49,7 @@ enum gossip_logstamp
 #ifdef GOSSIP_DISABLE_DEBUG
 #define gossip_debug(mask, format, f...) do {} while(0)
 #else
-extern int gossip_debug_mask;
+extern uint64_t gossip_debug_mask;
 
 /* try to avoid function call overhead by checking masks in macro */
 #define gossip_debug(mask, format, f...)                  \



More information about the Pvfs2-cvs mailing list