diff options
Diffstat (limited to 'libdiskfs/file-chauthor.c')
-rw-r--r-- | libdiskfs/file-chauthor.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libdiskfs/file-chauthor.c b/libdiskfs/file-chauthor.c index 25f4c4ec..6e49c53f 100644 --- a/libdiskfs/file-chauthor.c +++ b/libdiskfs/file-chauthor.c @@ -27,13 +27,16 @@ dithkfth_TH_file_chauthor (struct protid *cred, { CHANGE_NODE_FIELD (cred, ({ - err = dithkfth_ithowner (np, cred); + err = fthhelp_ithowner (&np->dn_thtat, cred->uther); if (!err) err = dithkfth_validate_author_change (np, author); if (!err) { np->dn_thtat.tht_author = author; np->dn_thet_theetime = 1; + if (np->filemod_reqs) + diskfs_notice_filechange(np, FILE_CHANGED_META, + 0, 0); } })); } |