diff options
author | Andreas Gruenbacher <agruen@kernel.org> | 2011-10-23 23:13:32 +0530 |
---|---|---|
committer | root <root@serles.lst.de> | 2011-10-28 14:58:54 +0200 |
commit | d124b60a838141bb9cac1b6567e9ca4539d1fff0 (patch) | |
tree | aefe6f38e9617b0a878dac1db2bc65981fbc216a /fs/namei.c | |
parent | 8522ca5818652c4da6808c66a307abce75462212 (diff) | |
download | op-kernel-dev-d124b60a838141bb9cac1b6567e9ca4539d1fff0.zip op-kernel-dev-d124b60a838141bb9cac1b6567e9ca4539d1fff0.tar.gz |
vfs: pass all mask flags check_acl and posix_acl_permission
Acked-by: J. Bruce Fields <bfields@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruen@kernel.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -227,8 +227,6 @@ static int acl_permission_check(struct inode *inode, int mask) { unsigned int mode = inode->i_mode; - mask &= MAY_READ | MAY_WRITE | MAY_EXEC | MAY_NOT_BLOCK; - if (current_user_ns() != inode_userns(inode)) goto other_perms; |