[Ocfs2-commits] manish commits r922 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon May 17 19:24:11 CDT 2004


Author: manish
Date: 2004-05-17 18:24:09 -0500 (Mon, 17 May 2004)
New Revision: 922

Modified:
   trunk/src/file.c
Log:
use OCFS_CURRENT_TIME instead of crackfilled OcfsQuerySystemTime for
fe->modify_time


Modified: trunk/src/file.c
===================================================================
--- trunk/src/file.c	2004-05-17 23:23:31 UTC (rev 921)
+++ trunk/src/file.c	2004-05-17 23:24:09 UTC (rev 922)
@@ -862,7 +862,7 @@
 	DISK_LOCK_SEQNUM (fe) = 0;
 	SET_VALID_BIT (fe->sync_flags);
 	fe->sync_flags &= ~(OCFS_SYNC_FLAG_CHANGE);
-	OcfsQuerySystemTime (&fe->modify_time);
+	fe->modify_time = OCFS_CURRENT_TIME;
 	
 	flags = OCFS_FE_CACHE_FLAGS(osb, fe);
 	OCFS_BH_PUT_DATA(bh);
@@ -1319,7 +1319,7 @@
 
 	err = 0;
 bail:
-	LOG_EXIT_LONG (err);
+	LOG_EXIT_INT (err);
 	return err;
 }				/* ocfs_getattr */
 



More information about the Ocfs2-commits mailing list