summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-04-16 19:13:55 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-04-16 19:13:55 +0000
commit2208c5553c009deff0e9b94d8330f4d61ff0f7e4 (patch)
tree97880f212cdc7f4c0b111d5f5164d0de2a0f63fa /libdiskfs
parent5672dd65496df91221a75cf497f9b3a39290e3e0 (diff)
(diskfs_direnter): Update mtime.
Diffstat (limited to 'libdiskfs')
-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);