[Haiku-commits] r31010 - haiku/trunk/src/system/kernel/fs

axeld at BerliOS axeld at mail.berlios.de
Thu Jun 11 23:47:19 CEST 2009


Author: axeld
Date: 2009-06-11 23:47:19 +0200 (Thu, 11 Jun 2009)
New Revision: 31010
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=31010&view=rev

Modified:
   haiku/trunk/src/system/kernel/fs/vfs.cpp
Log:
* Returning random stat data isn't really nice.


Modified: haiku/trunk/src/system/kernel/fs/vfs.cpp
===================================================================
--- haiku/trunk/src/system/kernel/fs/vfs.cpp	2009-06-11 18:44:16 UTC (rev 31009)
+++ haiku/trunk/src/system/kernel/fs/vfs.cpp	2009-06-11 21:47:19 UTC (rev 31010)
@@ -6086,6 +6086,12 @@
 
 	FUNCTION(("common_read_stat: stat %p\n", stat));
 
+	// TODO: remove this once all file systems properly set them!
+	stat->st_crtim.tv_nsec = 0;
+	stat->st_ctim.tv_nsec = 0;
+	stat->st_mtim.tv_nsec = 0;
+	stat->st_atim.tv_nsec = 0;
+
 	status_t status = FS_CALL(vnode, read_stat, stat);
 
 	// fill in the st_dev and st_ino fields




More information about the Haiku-commits mailing list