summaryrefslogtreecommitdiff
path: root/console-client/trans.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-client/trans.c')
-rw-r--r--console-client/trans.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/console-client/trans.c b/console-client/trans.c
index 4b9c92b9..69026b16 100644
--- a/console-client/trans.c
+++ b/console-client/trans.c
@@ -186,14 +186,10 @@ netfs_attempt_utimes (struct iouser *cred, struct node *np,
if (! err)
{
if (mtime)
- np->nn_stat.st_mtim = *mtime;
- else
- flags |= TOUCH_MTIME;
+ np->nn_stat.st_mtim = *mtime;
if (atime)
- np->nn_stat.st_atim = *atime;
- else
- flags |= TOUCH_ATIME;
+ np->nn_stat.st_atim = *atime;
fshelp_touch (&np->nn_stat, flags, console_maptime);
}