]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit862fecf453450b61e9492d372d9cc8decb220863
tree6970213dc80934ed97244468f6c432b97271e62c
parentd8ef21e10d4c4738424930f4447e98b797811f23
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