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

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue May 18 19:49:22 CDT 2004


Author: mfasheh
Date: 2004-05-18 18:49:20 -0500 (Tue, 18 May 2004)
New Revision: 927

Modified:
   trunk/src/dlm.c
Log:
* fix a bug where the open map on an fe was being blown away on lock acquire.



Modified: trunk/src/dlm.c
===================================================================
--- trunk/src/dlm.c	2004-05-18 01:50:27 UTC (rev 926)
+++ trunk/src/dlm.c	2004-05-18 23:49:20 UTC (rev 927)
@@ -1300,7 +1300,7 @@
 	int tmpstat;
 	ocfs_file_entry *fe = NULL;
 	__u64 lock_id;
-	__u32 lock_write_flags = DLOCK_FLAG_MASTER | DLOCK_FLAG_LOCK | DLOCK_FLAG_OPEN_MAP;
+	__u32 lock_write_flags = DLOCK_FLAG_MASTER | DLOCK_FLAG_LOCK;
 	__u32 lock_type = requested_lock;
 	int need_to_zap_buffers = 0, need_lock_write = 1;
 	int is_readdir = (flags & FLAG_READDIR) ? 1 : 0;



More information about the Ocfs2-commits mailing list