]> git.baikalelectronics.ru Git - kernel.git/commit
jfs: set i_ctime when setting ACL
authorDave Kleikamp <dave.kleikamp@oracle.com>
Thu, 13 Feb 2014 21:40:13 +0000 (15:40 -0600)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Thu, 13 Feb 2014 21:56:05 +0000 (15:56 -0600)
commit3fedb2af8964f32d4f99c9529db35fdf910d664d
treed00da331c3c800d4507216d7a77b4f5d71ac0843
parentef8c1cc1437306df3b530b071eea3296ea49a236
jfs: set i_ctime when setting ACL

This fixes a regression in 3.14-rc1 where xfstests generic/307 fails.

jfs sets the ctime on the inode when writing an xattr. Previously,
jfs went ahead and stored an acl that can be completely represented
in the traditional permission bits, so the ctime was always set in
the xattr code. The new code doesn't bother storing the acl in that
case, thus the ctime isn't getting set.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Reported-by: Michael L. Semon <mlsemon35@gmail.com>
fs/jfs/acl.c