[Ocfs2-commits] mfasheh commits r1449 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Sep 9 20:44:20 CDT 2004
Author: mfasheh
Date: 2004-09-09 20:44:18 -0500 (Thu, 09 Sep 2004)
New Revision: 1449
Modified:
trunk/src/dlm.c
Log:
* properly increment / decrement lock_holders for readonly locks.
Modified: trunk/src/dlm.c
===================================================================
--- trunk/src/dlm.c 2004-09-09 23:15:40 UTC (rev 1448)
+++ trunk/src/dlm.c 2004-09-10 01:44:18 UTC (rev 1449)
@@ -280,8 +280,7 @@
lock_id);
#endif
set_bit(LOCK_STATE_READONLY, &lockres->readonly_state);
- ocfs_release_lockres_write (inode);
- goto finally;
+ goto skip_lock_write;
}
if (lockres->master_node_num == OCFS_INVALID_NODE_NUM ||
@@ -465,7 +464,7 @@
BUG();
}
status = 0;
- goto unlock;
+ goto finally;
}
OCFS_ASSERT(lockres->uncommitted_holders <= lockres->lock_holders);
More information about the Ocfs2-commits
mailing list