[Ocfs2-commits] mfasheh commits r1700 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Dec 8 20:24:57 CST 2004
Author: mfasheh
Date: 2004-12-08 20:24:55 -0600 (Wed, 08 Dec 2004)
New Revision: 1700
Modified:
trunk/src/ocfs.h
trunk/src/super.c
Log:
* get rid of some unused variables
Modified: trunk/src/ocfs.h
===================================================================
--- trunk/src/ocfs.h 2004-12-08 23:38:03 UTC (rev 1699)
+++ trunk/src/ocfs.h 2004-12-09 02:24:55 UTC (rev 1700)
@@ -416,10 +416,6 @@
kmem_cache_t *lock_cache;
u32 flags;
char *node_name; /* human readable node identification */
- char *cluster_name; /* unused */
- int comm_info_read; /* ipc info loaded from config file */
- spinlock_t comm_seq_lock; /* protects comm_seq_num */
- u64 comm_seq_num; /* local node seq num used in ipcdlm */
ocfs_dlm_stats net_reqst_stats; /* stats of netdlm vote requests */
ocfs_dlm_stats net_reply_stats; /* stats of netdlm vote reponses */
struct proc_dir_entry *proc_root_dir; /* points to /proc/fs/ocfs2 */
Modified: trunk/src/super.c
===================================================================
--- trunk/src/super.c 2004-12-08 23:38:03 UTC (rev 1699)
+++ trunk/src/super.c 2004-12-09 02:24:55 UTC (rev 1700)
@@ -570,11 +570,6 @@
spin_lock (&osb_id_lock);
osb_id = 0;
spin_unlock (&osb_id_lock);
-
- spin_lock_init (&OcfsGlobalCtxt.comm_seq_lock);
- spin_lock (&OcfsGlobalCtxt.comm_seq_lock);
- OcfsGlobalCtxt.comm_seq_num = 0;
- spin_unlock (&OcfsGlobalCtxt.comm_seq_lock);
/* Initialize the proc interface */
ocfs_proc_init ();
More information about the Ocfs2-commits
mailing list