summaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-06-27 07:50:47 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-06-27 07:50:47 -0700
commit55982d94009c8fb1ea79855dba0c079c36224c38 (patch)
tree7390e8dd259c93d20896410930539b84ac4a3db8 /fs/ext3
parenta7b917256d8afacadc614414c4b0d411f76f3747 (diff)
parent30e2bab2d6e22188c6d36a09cdcffb4748d2dbe5 (diff)
downloadop-kernel-dev-55982d94009c8fb1ea79855dba0c079c36224c38.zip
op-kernel-dev-55982d94009c8fb1ea79855dba0c079c36224c38.tar.gz
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6: ext3: update ctime when changing the file's permission by setfacl ext2: update ctime when changing the file's permission by setfacl
Diffstat (limited to 'fs/ext3')
-rw-r--r--fs/ext3/acl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext3/acl.c b/fs/ext3/acl.c
index 01552ab..8a11fe2 100644
--- a/fs/ext3/acl.c
+++ b/fs/ext3/acl.c
@@ -205,6 +205,7 @@ ext3_set_acl(handle_t *handle, struct inode *inode, int type,
return error;
else {
inode->i_mode = mode;
+ inode->i_ctime = CURRENT_TIME_SEC;
ext3_mark_inode_dirty(handle, inode);
if (error == 0)
acl = NULL;
OpenPOWER on IntegriCloud