[Ocfs2-commits] mfasheh commits r1105 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Tue Jun 15 18:29:47 CDT 2004
Author: mfasheh
Date: 2004-06-15 17:29:45 -0500 (Tue, 15 Jun 2004)
New Revision: 1105
Modified:
trunk/src/dlm.c
Log:
* fix a bug where release lock for an extend/truncate wasn't getting
communicated to the other nodes.
Modified: trunk/src/dlm.c
===================================================================
--- trunk/src/dlm.c 2004-06-15 22:03:17 UTC (rev 1104)
+++ trunk/src/dlm.c 2004-06-15 22:29:45 UTC (rev 1105)
@@ -1155,7 +1155,8 @@
if ((lockres->lock_type == OCFS_DLM_ENABLE_CACHE_LOCK) &&
(lockres->master_node_num == osb->node_num) &&
- !(flags & FLAG_FILE_DELETE)) {
+ !(flags & FLAG_FILE_DELETE) && !(flags & FLAG_FILE_EXTEND)
+ && !(FLAG_FILE_TRUNCATE)) {
status = 0;
goto finally;
}
More information about the Ocfs2-commits
mailing list