]> git.neil.brown.name Git - history.git/commitdiff
JFS: setting xattr should update ctime
authorDave Kleikamp <shaggy@austin.ibm.com>
Mon, 8 Mar 2004 06:37:12 +0000 (00:37 -0600)
committerDave Kleikamp <shaggy@austin.ibm.com>
Mon, 8 Mar 2004 06:37:12 +0000 (00:37 -0600)
fs/jfs/xattr.c

index 9db94506cc4adee6420731068eff515113943411..967253c2f2c4e28b1534d2206e1ead10f8439dad 100644 (file)
@@ -640,6 +640,7 @@ static int ea_put(struct inode *inode, struct ea_buffer *ea_buf, int new_size)
        }
 
        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);