[Ocfs2-commits] mfasheh commits r829 - in trunk/src: . inc
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Mar 31 16:51:38 CST 2004
Author: mfasheh
Date: 2004-03-31 16:51:36 -0600 (Wed, 31 Mar 2004)
New Revision: 829
Modified:
trunk/src/inc/ocfs.h
trunk/src/osb.c
Log:
* get rid of osb->voting_sem which is also unused.
Modified: trunk/src/inc/ocfs.h
===================================================================
--- trunk/src/inc/ocfs.h 2004-03-31 22:40:22 UTC (rev 828)
+++ trunk/src/inc/ocfs.h 2004-03-31 22:51:36 UTC (rev 829)
@@ -2011,7 +2011,6 @@
atomic_t node_req_vote; /* set when node's vote req pending */
struct semaphore trans_lock; /* serializes transactions */
bool publish_dirty;
- ocfs_sem voting_lock;
struct list_head needs_flush_head;
wait_queue_head_t flush_event;
atomic_t flush_event_woken;
Modified: trunk/src/osb.c
===================================================================
--- trunk/src/osb.c 2004-03-31 22:40:22 UTC (rev 828)
+++ trunk/src/osb.c 2004-03-31 22:51:36 UTC (rev 829)
@@ -99,7 +99,6 @@
atomic_set (&osb->nm_init, 0);
osb->publish_dirty = false;
- ocfs_init_sem (&(osb->voting_lock));
init_waitqueue_head (&osb->flush_event);
atomic_set (&osb->flush_event_woken, 0);
atomic_set (&osb->clean_buffer_seq, 1);
More information about the Ocfs2-commits
mailing list