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