From 9283bb15f7d70c3825943367249a4e2871d80e0f Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Wed, 12 Aug 1998 19:27:24 +0000 Subject: Tue Aug 11 16:17:49 1998 Thomas Bushnell, BSG * file-chflags.c (diskfs_S_file_chflags): Set NP->dn_set_ctime. --- libdiskfs/file-chflags.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libdiskfs/file-chflags.c') 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); -- cgit v1.2.3