[PATCH] setting xattr should update ctime (1 of 4)

[email protected] Mon, 8 Mar 2004 17:04:45 -0600
Newsgroups gmane.comp.file-systems.jfs.patches
Message-ID <[email protected]>
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/03/08 12:37:12-06:00 [email protected] 
#   JFS: setting xattr should update ctime
# 
diff -Nru a/fs/jfs/xattr.c b/fs/jfs/xattr.c
--- a/fs/jfs/xattr.c	Mon Mar  8 17:02:04 2004
+++ b/fs/jfs/xattr.c	Mon Mar  8 17:02:04 2004
@@ -640,6 +640,7 @@
 	}
 
 	inode->i_blocks += LBLK2PBLK(inode->i_sb, new_blocks - old_blocks);
+	inode->i_ctime = CURRENT_TIME;
 	rc = txCommit(tid, 1, &inode, 0);
 	txEnd(tid);
 	up(&ji->commit_sem);