]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7a747b451c74601b26fdbd840bc0492040c31e0
tree86a5d67b10c8736b47323cde7717068e98a023e1
parent62a677239fc1363fea43452a396e3d11400b731a
Fix POSIX ACL permission check

After commit ffcba486be22: "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