[Ocfs2-commits] khackel commits r815 - trunk/src/inc

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Mar 29 15:29:50 CST 2004


Author: khackel
Date: 2004-03-29 15:29:48 -0600 (Mon, 29 Mar 2004)
New Revision: 815

Modified:
   trunk/src/inc/journal.h
Log:
some idiot forgot to add the directory creation journal credits (from insert file) 
to the rename credits.  oh wait...  that was me.


Modified: trunk/src/inc/journal.h
===================================================================
--- trunk/src/inc/journal.h	2004-03-29 19:01:53 UTC (rev 814)
+++ trunk/src/inc/journal.h	2004-03-29 21:29:48 UTC (rev 815)
@@ -388,8 +388,9 @@
 
 /* fe change, locknode change, dirnode head, times two plus a possible
  * delete, three to fix the up_node_hdr_ptr values of any extents
- * below the moved fe, and fuzz */
+ * below the moved fe, plus a possible dirnode addition in insert_file, and fuzz */
 #define OCFS_FILE_RENAME_CREDITS  (2 * (1 + 1 + 1) + OCFS_FILE_DELETE_CREDITS \
 	 			   + OCFS_MAX_FILE_ENTRY_EXTENTS              \
-				   + OCFS_JOURNAL_FUZZ_CREDITS)
+				   + OCFS_JOURNAL_FUZZ_CREDITS + \
+				   OCFS_DEFAULT_DIR_NODE_SECTS)
 #endif /* _OCFSJOURNAL_H_ */



More information about the Ocfs2-commits mailing list