Fix POSIX ACL permission check
authorAri Savolainen <ari.m.savolainen@gmail.com>
Sat, 6 Aug 2011 16:43:07 +0000 (19:43 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 7 Aug 2011 08:52:23 +0000 (04:52 -0400)
commit206b1d09a56dcd2db1052245c4131879c410eaf8
tree86a5d67b10c8736b47323cde7717068e98a023e1
parentc2f340a69cabe0fb7b9f02d1a2495927db225a06
Fix POSIX ACL permission check

After commit 3567866bf261: "RCUify freeing acls, let check_acl() go ahead in
RCU mode if acl is cached" posix_acl_permission is being called with an
unsupported flag and the permission check fails. This patch fixes the issue.

Signed-off-by: Ari Savolainen <ari.m.savolainen@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c