diff options
author | Thomas Bushnell <thomas@gnu.org> | 1998-08-12 19:27:24 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1998-08-12 19:27:24 +0000 |
commit | 9283bb15f7d70c3825943367249a4e2871d80e0f (patch) | |
tree | 0b4779852ab7b66a2de7790cdcf2209403d3ac95 /libdiskfs/file-chflags.c | |
parent | 9822f554a79d842622bb5b538baefdc678032629 (diff) |
Tue Aug 11 16:17:49 1998 Thomas Bushnell, BSG <tb@mit.edu>
* file-chflags.c (diskfs_S_file_chflags): Set NP->dn_set_ctime.
Diffstat (limited to 'libdiskfs/file-chflags.c')
-rw-r--r-- | libdiskfs/file-chflags.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/file-chflags.c b/libdiskfs/file-chflags.c index 55a6f3eb..56e3f27d 100644 --- a/libdiskfs/file-chflags.c +++ b/libdiskfs/file-chflags.c @@ -1,5 +1,5 @@ /* libdiskfs implementation of fs.defs:file_chflags - Copyright (C) 1992, 1993, 1994, 1996 Free Software Foundation + Copyright (C) 1992, 1993, 1994, 1996, 1998 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -30,6 +30,7 @@ diskfs_S_file_chflags (struct protid *cred, err = diskfs_validate_flags_change (np, flags); if (!err) np->dn_stat.st_flags = flags; + np->dn_set_ctime = 1; if (!err && np->filemod_reqs) diskfs_notice_filechange(np, FILE_CHANGED_META, 0, 0); |