Use vfs_timestamp() instead of nanotime() - make it up to

the user to make decisions about how detail they wanted
timestamps to have.
This commit is contained in:
Xin LI 2007-06-18 14:40:19 +00:00
parent d95ddf0251
commit b746bf0820

View File

@ -1256,7 +1256,7 @@ tmpfs_itimes(struct vnode *vp, const struct timespec *acc,
TMPFS_NODE_CHANGED)) == 0)
return;
nanotime(&now);
vfs_timestamp(&now);
if (node->tn_status & TMPFS_NODE_ACCESSED) {
if (acc == NULL)
acc = &now;