ext2/3/4: use generic posix ACL infrastructure
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:

committed by
Al Viro

parent
996a710d46
commit
64e178a711
@@ -102,8 +102,8 @@ static struct mb_cache *ext3_xattr_cache;
|
||||
static const struct xattr_handler *ext3_xattr_handler_map[] = {
|
||||
[EXT3_XATTR_INDEX_USER] = &ext3_xattr_user_handler,
|
||||
#ifdef CONFIG_EXT3_FS_POSIX_ACL
|
||||
[EXT3_XATTR_INDEX_POSIX_ACL_ACCESS] = &ext3_xattr_acl_access_handler,
|
||||
[EXT3_XATTR_INDEX_POSIX_ACL_DEFAULT] = &ext3_xattr_acl_default_handler,
|
||||
[EXT3_XATTR_INDEX_POSIX_ACL_ACCESS] = &posix_acl_access_xattr_handler,
|
||||
[EXT3_XATTR_INDEX_POSIX_ACL_DEFAULT] = &posix_acl_default_xattr_handler,
|
||||
#endif
|
||||
[EXT3_XATTR_INDEX_TRUSTED] = &ext3_xattr_trusted_handler,
|
||||
#ifdef CONFIG_EXT3_FS_SECURITY
|
||||
@@ -115,8 +115,8 @@ const struct xattr_handler *ext3_xattr_handlers[] = {
|
||||
&ext3_xattr_user_handler,
|
||||
&ext3_xattr_trusted_handler,
|
||||
#ifdef CONFIG_EXT3_FS_POSIX_ACL
|
||||
&ext3_xattr_acl_access_handler,
|
||||
&ext3_xattr_acl_default_handler,
|
||||
&posix_acl_access_xattr_handler,
|
||||
&posix_acl_default_xattr_handler,
|
||||
#endif
|
||||
#ifdef CONFIG_EXT3_FS_SECURITY
|
||||
&ext3_xattr_security_handler,
|
||||
|
Reference in New Issue
Block a user