[Ocfs2-commits] rev 765 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Mar 8 19:39:10 CST 2004


Author: mfasheh
Date: 2004-03-08 19:39:09 -0600 (Mon, 08 Mar 2004)
New Revision: 765

Modified:
   trunk/src/sysfile.c
Log:
* fix another tyope in orphan dir creation



Modified: trunk/src/sysfile.c
===================================================================
--- trunk/src/sysfile.c	2004-03-08 18:57:18 UTC (rev 764)
+++ trunk/src/sysfile.c	2004-03-09 01:39:09 UTC (rev 765)
@@ -183,7 +183,7 @@
 	new_dir = (ocfs_dir_node *) OCFS_BH_GET_DATA_WRITE(dirnode_bhs[0]);
 	ocfs_initialize_dir_node (osb, new_dir, bitmap_off, file_off, 
 				  osb->node_num);
-	DISK_LOCK_CURRENT_MASTER (new_dir) = i;
+	DISK_LOCK_CURRENT_MASTER (new_dir) = node_num;
 	DISK_LOCK_FILE_LOCK (new_dir) = OCFS_DLM_ENABLE_CACHE_LOCK;
 	new_dir->dir_node_flags |= DIR_NODE_FLAG_ORPHAN;
 	OCFS_BH_PUT_DATA(dirnode_bhs[0]);



More information about the Ocfs2-commits mailing list