summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1998-08-12 19:27:24 +0000
committerThomas Bushnell <thomas@gnu.org>1998-08-12 19:27:24 +0000
commit9283bb15f7d70c3825943367249a4e2871d80e0f (patch)
tree0b4779852ab7b66a2de7790cdcf2209403d3ac95
parent9822f554a79d842622bb5b538baefdc678032629 (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.
-rw-r--r--libdiskfs/ChangeLog2
-rw-r--r--libdiskfs/file-chflags.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog
index 3ed5b73e..acaeba8e 100644
--- a/libdiskfs/ChangeLog
+++ b/libdiskfs/ChangeLog
@@ -1,5 +1,7 @@
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.
+
* file-utimes.c (diskfs_S_file_utimes): Add file notifications.
Sun Aug 9 21:09:24 1998 Jose M. Moya <josem@gnu.org>
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);