From 2e1650b83b506953e0535d7e61f0b92dcb87b047 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 4 Feb 1994 20:22:20 +0000 Subject: Formerly file-utimes.c.~4~ --- libdiskfs/file-utimes.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libdiskfs/file-utimes.c') 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; } })); } -- cgit v1.2.3