[Ocfs2-commits] manish commits r877 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Apr 28 18:28:05 CDT 2004


Author: manish
Date: 2004-04-28 17:28:04 -0500 (Wed, 28 Apr 2004)
New Revision: 877

Modified:
   trunk/src/nm.c
Log:
put process_vote_strings in #ifdef VERBOSE_PROCESS_VOTE cause it's not used
in any other case


Modified: trunk/src/nm.c
===================================================================
--- trunk/src/nm.c	2004-04-28 22:20:39 UTC (rev 876)
+++ trunk/src/nm.c	2004-04-28 22:28:04 UTC (rev 877)
@@ -50,6 +50,7 @@
 
 void ocfs_process_vote_worker(void *val);
 
+#ifdef VERBOSE_PROCESS_VOTE
 static const char *process_vote_strings[] = {
 	"INVALID_REQUEST",      // reply with a NO vote
 	"UPDATE_OIN_INODE",     // update both oin and inode
@@ -63,6 +64,7 @@
 	"DROP_READONLY",        // RO cachelock needs to convert to RW
 	"READONLY"
 };
+#endif
 
 /*
  * ocfs_recv_thread()



More information about the Ocfs2-commits mailing list