[Ocfs2-commits] mfasheh commits r1300 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Jul 22 20:30:03 CDT 2004


Author: mfasheh
Date: 2004-07-22 19:30:02 -0500 (Thu, 22 Jul 2004)
New Revision: 1300

Modified:
   trunk/src/journal.c
   trunk/src/ocfs_journal.h
Log:
* remove the journals "committed" handles list -- forgot to get rid of
  it earlier as it does nothing now.



Modified: trunk/src/journal.c
===================================================================
--- trunk/src/journal.c	2004-07-23 00:29:26 UTC (rev 1299)
+++ trunk/src/journal.c	2004-07-23 00:30:02 UTC (rev 1300)
@@ -1167,7 +1167,6 @@
 	if (!osb)
 		BUG();
 
-	INIT_LIST_HEAD(&(osb->journal->committed));
 	spin_lock_init(&(osb->journal->cmt_lock));
 
 	/* already have the inode for our journal */

Modified: trunk/src/ocfs_journal.h
===================================================================
--- trunk/src/ocfs_journal.h	2004-07-23 00:29:26 UTC (rev 1299)
+++ trunk/src/ocfs_journal.h	2004-07-23 00:30:02 UTC (rev 1300)
@@ -72,9 +72,6 @@
 	unsigned long             trans_id;
 	/* locking order: trans_lock -> cmt_lock */
 	spinlock_t                cmt_lock;   /* protects the committed list */
-	struct list_head          committed;  /* doubly linked list of all
-					       * committed handles awaiting
-					       * checkpointing.           */
 	atomic_t                  num_cmt_locks; /* number of delayed
 						  * locks */
 	atomic_t                  num_chkpt_locks;



More information about the Ocfs2-commits mailing list