summaryrefslogtreecommitdiff
path: root/libdiskfs/file-chflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/file-chflags.c')
-rw-r--r--libdiskfs/file-chflags.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdiskfs/file-chflags.c b/libdiskfs/file-chflags.c
index d70cc712..55a6f3eb 100644
--- a/libdiskfs/file-chflags.c
+++ b/libdiskfs/file-chflags.c
@@ -30,5 +30,8 @@ diskfs_S_file_chflags (struct protid *cred,
err = diskfs_validate_flags_change (np, flags);
if (!err)
np->dn_stat.st_flags = flags;
+ if (!err && np->filemod_reqs)
+ diskfs_notice_filechange(np, FILE_CHANGED_META,
+ 0, 0);
}));
}