# HG changeset patch
# User OGAWA Hirofumi
# Date 1226387746 -32400
# Node ID d680e7bc61353f6c4de5ef24e30b4f5d8245150d
# Parent 6b615de4d62bea052bb57474e754233f911edf1e
Convert more timestamp to high resolution in tux3fusediff -r 6b615de4d62b -r d680e7bc6135 user/tux3fuse.c
--- a/user/tux3fuse.c Tue Nov 11 16:14:41 2008 +0900
+++ b/user/tux3fuse.c Tue Nov 11 16:15:46 2008 +0900
@@ -84,9 +84,24 @@
.attr = {
.st_ino = inode->inum,
.st_mode = inode->i_mode,
+#if 1
+ .st_atim = {
+ .tv_sec = high32(inode->i_atime),
+ .tv_nsec = millionths(inode->i_atime) * 1000,
+ },
+ .st_mtim = {
+ .tv_sec = high32(inode->i_mtime),
+ .tv_nsec = millionths(inode->i_mtime) * 1000,
+ },
+ .st_ctim = {
+ .tv_sec = high32(inode->i_ctime),
+ .tv_nsec = millionths(inode->i_ctime) * 1000,
+ },
+#else
.st_atime = high32(inode->i_atime),
.st_mtime = high32(inode->i_mtime),
.st_ctime = high32(inode->i_ctime),
+#endif
.st_size = inode->i_size,
.st_uid = inode->i_uid,
.st_gid = inode->i_gid,
@@ -169,9 +184,24 @@
.attr = {
.st_ino = inode->inum,
.st_mode = inode->i_mode,
+#if 1
+ .st_atim = {
+ .tv_sec = high32(inode->i_atime),
+ .tv_nsec = millionths(inode->i_atime) * 1000,
+ },
+ .st_mtim = {
+ .tv_sec = high32(inode->i_mtime),
+ .tv_nsec = millionths(inode->i_mtime) * 1000,
+ },
+ .st_ctim = {
+ .tv_sec = high32(inode->i_ctime),
+ .tv_nsec = millionths(inode->i_ctime) * 1000,
+ },
+#else
.st_atime = high32(inode->i_atime),
.st_mtime = high32(inode->i_mtime),
.st_ctime = high32(inode->i_ctime),
+#endif
.st_size = inode->i_size,
.st_uid = inode->i_uid,
.st_gid = inode->i_gid,--
OGAWA Hirofumi_______________________________________________
Tux3 mailing list
Tux3@tux3.org
http://tux3.org/cgi-bin/mailman/listinfo/tux3
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Hiten Pandya | Re: up? (emacs docbook xml ide) |
| Andy Whitcroft | clam |
| Kamalesh Babulal | Re: 2.6.23-rc6-mm1 |
git: | |
| Stephen Hemminger | Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49 |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
