ext3: update ctime when changing the file's permission by setfacl
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 27 May 2010 08:28:40 +0000 (16:28 +0800)
committerJan Kara <jack@suse.cz>
Thu, 24 Jun 2010 23:20:37 +0000 (01:20 +0200)
commit30e2bab2d6e22188c6d36a09cdcffb4748d2dbe5
tree6970213dc80934ed97244468f6c432b97271e62c
parent523825bc586d19e0fbcfc5db717f5bb90108bbc3
ext3: update ctime when changing the file's permission by setfacl

ext3 didn't update the ctime of the file when its permission was changed.

Steps to reproduce:
 # touch aaa
 # stat -c %Z aaa
 1275289822
 # setfacl -m  'u::x,g::x,o::x' aaa
 # stat -c %Z aaa
 1275289822 <- unchanged

But, according to the spec of the ctime, ext3 must update it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/acl.c