summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/direnter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdiskfs/direnter.c b/libdiskfs/direnter.c
index d5d28cc7..4167362e 100644
--- a/libdiskfs/direnter.c
+++ b/libdiskfs/direnter.c
@@ -39,6 +39,8 @@ diskfs_direnter (struct node *dp,
err = diskfs_direnter_hard (dp, name, np, ds, cred);
if (err)
return err;
+
+ dn->dn_set_mtime = 1;
if (dp->dirmod_reqs)
diskfs_notice_dirchange (dp, DIR_CHANGED_NEW, name);