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/ctree.h | |
parent | fd2696f399e45347c07f1f7f340e8515cace5657 (diff) |
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/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index b3959a150c3b..8184f2feb2f3 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -2366,7 +2366,7 @@ int btrfs_parse_options(struct btrfs_root *root, char *options); | |||
2366 | int btrfs_sync_fs(struct super_block *sb, int wait); | 2366 | int btrfs_sync_fs(struct super_block *sb, int wait); |
2367 | 2367 | ||
2368 | /* acl.c */ | 2368 | /* acl.c */ |
2369 | #ifdef CONFIG_FS_POSIX_ACL | 2369 | #ifdef CONFIG_BTRFS_POSIX_ACL |
2370 | int btrfs_check_acl(struct inode *inode, int mask); | 2370 | int btrfs_check_acl(struct inode *inode, int mask); |
2371 | #else | 2371 | #else |
2372 | #define btrfs_check_acl NULL | 2372 | #define btrfs_check_acl NULL |