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:
parent
d95ddf0251
commit
b746bf0820
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user