summaryrefslogtreecommitdiff
path: root/libdiskfs/file-chmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/file-chmod.c')
-rw-r--r--libdiskfs/file-chmod.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdiskfs/file-chmod.c b/libdiskfs/file-chmod.c
index 66c51a32..09bbe0ea 100644
--- a/libdiskfs/file-chmod.c
+++ b/libdiskfs/file-chmod.c
@@ -45,6 +45,10 @@ diskfs_S_file_chmod (struct protid *cred,
{
np->dn_stat.st_mode = mode;
np->dn_set_ctime = 1;
+ if (np->filemod_reqs)
+ diskfs_notice_filechange(np,
+ FILE_CHANGED_META,
+ 0, 0);
}
}
}));