Fix btrfs when ACLs are configured out
authorAl Viro <viro@ZenIV.linux.org.uk>
Wed, 10 Jun 2009 15:36:43 +0000 (11:36 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 10 Jun 2009 15:36:43 +0000 (11:36 -0400)
commit7df336ec1266dccbb253bac52c529d3dcc7c22d0
treef52acd46f2db0886669d18494a5e7e0f885b2fb5
parent524724ed1f224875a117be593540591ed050c73d
Fix btrfs when ACLs are configured out

... otherwise generic_permission() will allow *anything* for all
files you don't own and that have some group permissions.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/acl.c
fs/btrfs/ctree.h