diff options
author | Chris Ball <cjb@laptop.org> | 2009-09-29 13:51:05 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-09-29 13:51:05 -0400 |
commit | 3baf0bed0a5adab95c7599d2f27124c74692ef28 (patch) | |
tree | fff0aae377d71743ab4d95449bf57419280555b3 /fs/btrfs/acl.c | |
parent | fd2696f399e45347c07f1f7f340e8515cace5657 (diff) | |
download | kernel_goldelico_gta04-3baf0bed0a5adab95c7599d2f27124c74692ef28.zip kernel_goldelico_gta04-3baf0bed0a5adab95c7599d2f27124c74692ef28.tar.gz kernel_goldelico_gta04-3baf0bed0a5adab95c7599d2f27124c74692ef28.tar.bz2 |
Btrfs: Use CONFIG_BTRFS_POSIX_ACL to enable ACL code
We've already defined CONFIG_BTRFS_POSIX_ACL in Kconfig, but we're
currently not using it and are testing CONFIG_FS_POSIX_ACL instead.
CONFIG_FS_POSIX_ACL states "Never use this symbol for ifdefs".
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/acl.c')
-rw-r--r-- | fs/btrfs/acl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/acl.c b/fs/btrfs/acl.c index f128427..69b355a 100644 --- a/fs/btrfs/acl.c +++ b/fs/btrfs/acl.c @@ -27,7 +27,7 @@ #include "btrfs_inode.h" #include "xattr.h" -#ifdef CONFIG_FS_POSIX_ACL +#ifdef CONFIG_BTRFS_POSIX_ACL static struct posix_acl *btrfs_get_acl(struct inode *inode, int type) { @@ -313,7 +313,7 @@ struct xattr_handler btrfs_xattr_acl_access_handler = { .set = btrfs_xattr_acl_access_set, }; -#else /* CONFIG_FS_POSIX_ACL */ +#else /* CONFIG_BTRFS_POSIX_ACL */ int btrfs_acl_chmod(struct inode *inode) { @@ -325,4 +325,4 @@ int btrfs_init_acl(struct inode *inode, struct inode *dir) return 0; } -#endif /* CONFIG_FS_POSIX_ACL */ +#endif /* CONFIG_BTRFS_POSIX_ACL */ |