summaryrefslogtreecommitdiff
path: root/libdiskfs/file-utimes.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-04 20:22:20 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-04 20:22:20 +0000
commit2e1650b83b506953e0535d7e61f0b92dcb87b047 (patch)
tree66021e926c4a7a87e963d202e265bdedcb2a7a94 /libdiskfs/file-utimes.c
parent55dd616fb51c566c618f3fcdce6c24409bb1f844 (diff)
Formerly file-utimes.c.~4~
Diffstat (limited to 'libdiskfs/file-utimes.c')
-rw-r--r--libdiskfs/file-utimes.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdiskfs/file-utimes.c b/libdiskfs/file-utimes.c
index 326980c1..80a56a44 100644
--- a/libdiskfs/file-utimes.c
+++ b/libdiskfs/file-utimes.c
@@ -26,11 +26,12 @@ diskfs_S_file_utimes (struct protid *cred,
{
CHANGE_NODE_FIELD (cred,
({
- if (!(err = isowner (np, cred)))
+ if (!(err = diskfs_isowner (np, cred)))
{
np->dn_stat.st_atime = atime.seconds;
np->dn_stat.st_mtime = mtime.seconds;
- np->dn_stat.st_ctime = wallclock->seconds;
+ np->dn_set_atime = np->dn_set_mtime = 0;
+ np->dn_set_ctime = 1;
}
}));
}