summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dirremove.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdiskfs/dirremove.c b/libdiskfs/dirremove.c
index 16390856..d2ca0b5a 100644
--- a/libdiskfs/dirremove.c
+++ b/libdiskfs/dirremove.c
@@ -38,6 +38,9 @@ diskfs_dirremove (struct node *dp,
diskfs_purge_lookup_cache (dp, np);
err = diskfs_dirremove_hard (dp, ds);
+ if (!err)
+ dn->dn_set_mtime = 1;
+
if (!err && dp->dirmod_reqs)
diskfs_notice_dirchange (dp, DIR_CHANGED_UNLINK, name);
return err;