Loading fs/btrfs/acl.c +3 −3 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ #include "btrfs_inode.h" #include "xattr.h" #ifdef CONFIG_BTRFS_POSIX_ACL #ifdef CONFIG_BTRFS_FS_POSIX_ACL static struct posix_acl *btrfs_get_acl(struct inode *inode, int type) { Loading Loading @@ -313,7 +313,7 @@ struct xattr_handler btrfs_xattr_acl_access_handler = { .set = btrfs_xattr_acl_access_set, }; #else /* CONFIG_BTRFS_POSIX_ACL */ #else /* CONFIG_BTRFS_FS_POSIX_ACL */ int btrfs_acl_chmod(struct inode *inode) { Loading @@ -325,4 +325,4 @@ int btrfs_init_acl(struct inode *inode, struct inode *dir) return 0; } #endif /* CONFIG_BTRFS_POSIX_ACL */ #endif /* CONFIG_BTRFS_FS_POSIX_ACL */ fs/btrfs/ctree.h +1 −1 Original line number Diff line number Diff line Loading @@ -2374,7 +2374,7 @@ int btrfs_parse_options(struct btrfs_root *root, char *options); int btrfs_sync_fs(struct super_block *sb, int wait); /* acl.c */ #ifdef CONFIG_BTRFS_POSIX_ACL #ifdef CONFIG_BTRFS_FS_POSIX_ACL int btrfs_check_acl(struct inode *inode, int mask); #else #define btrfs_check_acl NULL Loading fs/btrfs/super.c +1 −1 Original line number Diff line number Diff line Loading @@ -344,7 +344,7 @@ static int btrfs_fill_super(struct super_block *sb, sb->s_export_op = &btrfs_export_ops; sb->s_xattr = btrfs_xattr_handlers; sb->s_time_gran = 1; #ifdef CONFIG_BTRFS_POSIX_ACL #ifdef CONFIG_BTRFS_FS_POSIX_ACL sb->s_flags |= MS_POSIXACL; #endif Loading fs/btrfs/xattr.c +1 −1 Original line number Diff line number Diff line Loading @@ -260,7 +260,7 @@ ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size) * attributes are handled directly. */ struct xattr_handler *btrfs_xattr_handlers[] = { #ifdef CONFIG_BTRFS_POSIX_ACL #ifdef CONFIG_BTRFS_FS_POSIX_ACL &btrfs_xattr_acl_access_handler, &btrfs_xattr_acl_default_handler, #endif Loading Loading
fs/btrfs/acl.c +3 −3 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ #include "btrfs_inode.h" #include "xattr.h" #ifdef CONFIG_BTRFS_POSIX_ACL #ifdef CONFIG_BTRFS_FS_POSIX_ACL static struct posix_acl *btrfs_get_acl(struct inode *inode, int type) { Loading Loading @@ -313,7 +313,7 @@ struct xattr_handler btrfs_xattr_acl_access_handler = { .set = btrfs_xattr_acl_access_set, }; #else /* CONFIG_BTRFS_POSIX_ACL */ #else /* CONFIG_BTRFS_FS_POSIX_ACL */ int btrfs_acl_chmod(struct inode *inode) { Loading @@ -325,4 +325,4 @@ int btrfs_init_acl(struct inode *inode, struct inode *dir) return 0; } #endif /* CONFIG_BTRFS_POSIX_ACL */ #endif /* CONFIG_BTRFS_FS_POSIX_ACL */
fs/btrfs/ctree.h +1 −1 Original line number Diff line number Diff line Loading @@ -2374,7 +2374,7 @@ int btrfs_parse_options(struct btrfs_root *root, char *options); int btrfs_sync_fs(struct super_block *sb, int wait); /* acl.c */ #ifdef CONFIG_BTRFS_POSIX_ACL #ifdef CONFIG_BTRFS_FS_POSIX_ACL int btrfs_check_acl(struct inode *inode, int mask); #else #define btrfs_check_acl NULL Loading
fs/btrfs/super.c +1 −1 Original line number Diff line number Diff line Loading @@ -344,7 +344,7 @@ static int btrfs_fill_super(struct super_block *sb, sb->s_export_op = &btrfs_export_ops; sb->s_xattr = btrfs_xattr_handlers; sb->s_time_gran = 1; #ifdef CONFIG_BTRFS_POSIX_ACL #ifdef CONFIG_BTRFS_FS_POSIX_ACL sb->s_flags |= MS_POSIXACL; #endif Loading
fs/btrfs/xattr.c +1 −1 Original line number Diff line number Diff line Loading @@ -260,7 +260,7 @@ ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size) * attributes are handled directly. */ struct xattr_handler *btrfs_xattr_handlers[] = { #ifdef CONFIG_BTRFS_POSIX_ACL #ifdef CONFIG_BTRFS_FS_POSIX_ACL &btrfs_xattr_acl_access_handler, &btrfs_xattr_acl_default_handler, #endif Loading