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

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Sun May 30 13:08:27 CDT 2004


Author: manish
Date: 2004-05-30 12:08:26 -0500 (Sun, 30 May 2004)
New Revision: 959

Modified:
   trunk/src/dir.c
Log:
update_atime is called for us by the vfs in 2.6. Don't do it in readdir.


Modified: trunk/src/dir.c
===================================================================
--- trunk/src/dir.c	2004-05-29 00:02:26 UTC (rev 958)
+++ trunk/src/dir.c	2004-05-30 17:08:26 UTC (rev 959)
@@ -155,7 +155,9 @@
 		offset = 0;
 		brelse (bh);
 	}
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
 	update_atime(inode);
+#endif
 	LOG_EXIT_STATUS(0);
 	return 0;
 }



More information about the Ocfs2-commits mailing list