]> git.baikalelectronics.ru Git - kernel.git/commit
reiserfs: cache negative ACLs for v1 stat format
authorChristoph Hellwig <hch@lst.de>
Sat, 23 Jul 2011 15:37:03 +0000 (17:37 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Jul 2011 18:25:38 +0000 (14:25 -0400)
commit9382f59d3992ae9085da79dcf2b4c7d3babaa6ce
tree10ca7beda590618be3c695720e04582c63a03822
parentf2962550c221a8a499fa8c61878ddf004d382a9f
reiserfs: cache negative ACLs for v1 stat format

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

Also remove the left over MAY_NOT_BLOCK check.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/reiserfs/inode.c
fs/reiserfs/xattr.c