[Pvfs2-cvs] commit by vilayann in pvfs2/src/apps/kernel/linux: pvfs2-client-core.c

CVS commit program cvs at parl.clemson.edu
Thu Aug 10 15:02:21 EDT 2006


Update of /anoncvs/pvfs2/src/apps/kernel/linux
In directory parlweb1:/tmp/cvs-serv12929/src/apps/kernel/linux

Modified Files:
	pvfs2-client-core.c 
Log Message:
Gossip'ized kmod as well so that we dont have 2 separate calls to printing diagnostics.
gossip for the kmod is fairly primitive and is handled simply by means of a macro in gossip.h.
Replaced and removed pvfs2_print and pvfs2_error with gossip_debug.
Edited quickstart to include comments on the new kmod debug parameters as well.



Index: pvfs2-client-core.c
===================================================================
RCS file: /anoncvs/pvfs2/src/apps/kernel/linux/pvfs2-client-core.c,v
diff -p -u -r1.71 -r1.72
--- pvfs2-client-core.c	9 Aug 2006 04:43:49 -0000	1.71
+++ pvfs2-client-core.c	10 Aug 2006 19:02:21 -0000	1.72
@@ -2622,12 +2622,12 @@ int main(int argc, char **argv)
     parse_args(argc, argv, &s_opts);
 
     /* convert gossip mask if provided on command line */
-    if(s_opts.gossip_mask)
+    if (s_opts.gossip_mask)
     {
         debug_mask = PVFS_debug_eventlog_to_mask(s_opts.gossip_mask);
     }
 
-    if(s_opts.logstamp_type_set)
+    if (s_opts.logstamp_type_set)
     {
         gossip_set_logstamp(s_opts.logstamp_type);
     }



More information about the Pvfs2-cvs mailing list