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)
commit4482a087d4c5a6ffbc385c56b4a4e2f694d9fd5d
tree10ca7beda590618be3c695720e04582c63a03822
parent6311b10800a4bdc3f2c85d01fb113cf49bb83770
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