[Ocfs2-commits] mfasheh commits r1532 - branches/dlm-changes/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Sep 30 21:27:19 CDT 2004


Author: mfasheh
Date: 2004-09-30 21:27:18 -0500 (Thu, 30 Sep 2004)
New Revision: 1532

Modified:
   branches/dlm-changes/src/file.c
Log:
* ocfs_change_file_attrib calls abort_trans when it shouldn't.



Modified: branches/dlm-changes/src/file.c
===================================================================
--- branches/dlm-changes/src/file.c	2004-10-01 01:33:29 UTC (rev 1531)
+++ branches/dlm-changes/src/file.c	2004-10-01 02:27:18 UTC (rev 1532)
@@ -486,14 +486,9 @@
 	}
 
 leave:
+	if (handle)
+		ocfs_commit_trans(handle);
 
-	if (handle) {
-		if (status < 0)
-			ocfs_abort_trans(handle);
-		else
-			ocfs_commit_trans(handle);
-	}
-
 	if (bh != NULL)
 		brelse(bh);
 



More information about the Ocfs2-commits mailing list