]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
xfs: cache negative ACLs if there is no attribute fork
authorChristoph Hellwig <hch@lst.de>
Sat, 23 Jul 2011 15:36:50 +0000 (17:36 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Jul 2011 18:25:38 +0000 (14:25 -0400)
commit6311b10800a4bdc3f2c85d01fb113cf49bb83770
tree4798068e025fa64c9c8656e2a28427f120d447a0
parentebbb0ef2871bf3f529987313a9146cc42419a8a8
xfs: cache negative ACLs if there is no attribute fork

Always set up a negative ACL cache entry if the inode doesn't have an
attribute fork.  That behaves much better than doing this check inside
->check_acl.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/xfs/linux-2.6/xfs_acl.c
fs/xfs/linux-2.6/xfs_iops.c