->permission() sanitizing: don't pass flags to ->check_acl()
not used in the instances anymore. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -190,7 +190,7 @@ generic_acl_chmod(struct inode *inode)
|
||||
}
|
||||
|
||||
int
|
||||
generic_check_acl(struct inode *inode, int mask, unsigned int flags)
|
||||
generic_check_acl(struct inode *inode, int mask)
|
||||
{
|
||||
if (mask & MAY_NOT_BLOCK) {
|
||||
if (!negative_cached_acl(inode, ACL_TYPE_ACCESS))
|
||||
|
Reference in New Issue
Block a user