aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/xattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/xattr.c')
-rw-r--r--fs/btrfs/xattr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/btrfs/xattr.c b/fs/btrfs/xattr.c
index 4b3bd24af72b..0a4950400f85 100644
--- a/fs/btrfs/xattr.c
+++ b/fs/btrfs/xattr.c
@@ -26,20 +26,22 @@
26#include "transaction.h" 26#include "transaction.h"
27#include "xattr.h" 27#include "xattr.h"
28#include "disk-io.h" 28#include "disk-io.h"
29
30static struct xattr_handler *btrfs_xattr_handler_map[] = { 29static struct xattr_handler *btrfs_xattr_handler_map[] = {
31 [BTRFS_XATTR_INDEX_USER] = &btrfs_xattr_user_handler, 30 [BTRFS_XATTR_INDEX_USER] = &btrfs_xattr_user_handler,
31#ifdef CONFIG_FS_POSIX_ACL
32 [BTRFS_XATTR_INDEX_POSIX_ACL_ACCESS] = &btrfs_xattr_acl_access_handler, 32 [BTRFS_XATTR_INDEX_POSIX_ACL_ACCESS] = &btrfs_xattr_acl_access_handler,
33 [BTRFS_XATTR_INDEX_POSIX_ACL_DEFAULT] = &btrfs_xattr_acl_default_handler, 33 [BTRFS_XATTR_INDEX_POSIX_ACL_DEFAULT] = &btrfs_xattr_acl_default_handler,
34#endif
34 [BTRFS_XATTR_INDEX_TRUSTED] = &btrfs_xattr_trusted_handler, 35 [BTRFS_XATTR_INDEX_TRUSTED] = &btrfs_xattr_trusted_handler,
35 [BTRFS_XATTR_INDEX_SECURITY] = &btrfs_xattr_security_handler, 36 [BTRFS_XATTR_INDEX_SECURITY] = &btrfs_xattr_security_handler,
36 [BTRFS_XATTR_INDEX_SYSTEM] = &btrfs_xattr_system_handler, 37 [BTRFS_XATTR_INDEX_SYSTEM] = &btrfs_xattr_system_handler,
37}; 38};
38
39struct xattr_handler *btrfs_xattr_handlers[] = { 39struct xattr_handler *btrfs_xattr_handlers[] = {
40 &btrfs_xattr_user_handler, 40 &btrfs_xattr_user_handler,
41#ifdef CONFIG_FS_POSIX_ACL
41 &btrfs_xattr_acl_access_handler, 42 &btrfs_xattr_acl_access_handler,
42 &btrfs_xattr_acl_default_handler, 43 &btrfs_xattr_acl_default_handler,
44#endif
43 &btrfs_xattr_trusted_handler, 45 &btrfs_xattr_trusted_handler,
44 &btrfs_xattr_security_handler, 46 &btrfs_xattr_security_handler,
45 &btrfs_xattr_system_handler, 47 &btrfs_xattr_system_handler,