[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ocfs2-commits
Subject:    [Ocfs2-commits] manish commits r877 - trunk/src
From:       svn-commits () oss ! oracle ! com (svn-commits () oss ! oracle ! com)
Date:       2004-04-28 17:28:08
Message-ID: 200404282228.i3SMS58q019846 () oss ! oracle ! com
[Download RAW message or body]

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()

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic