[Ocfs2-commits] mfasheh commits r1113 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Jun 16 17:16:23 CDT 2004
Author: mfasheh
Date: 2004-06-16 16:16:21 -0500 (Wed, 16 Jun 2004)
New Revision: 1113
Modified:
trunk/src/file.c
Log:
* fix a minor typo in extend_file where we were using the wrong
credits on a transaction.
Modified: trunk/src/file.c
===================================================================
--- trunk/src/file.c 2004-06-16 20:56:57 UTC (rev 1112)
+++ trunk/src/file.c 2004-06-16 21:16:21 UTC (rev 1113)
@@ -1124,7 +1124,7 @@
osb->vol_layout.cluster_size);
/* cannot call start_trans with a locked buffer head. */
- handle = ocfs_start_trans(osb, OCFS_FILE_EXTEND_CREDITS);
+ handle = ocfs_start_trans(osb, credits);
if (handle == NULL) {
LOG_ERROR_STATUS(status = -ENOMEM);
goto leave;
More information about the Ocfs2-commits
mailing list