summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2009-10-13 13:50:18 -0400
committerChris Mason <chris.mason@oracle.com>2009-10-13 13:51:39 -0400
commit0eda294dfc980c1cbe4f8a0564bf543f86a01ddb (patch)
tree478b0abfda753196fcb8842d002e5bb600051618 /fs/btrfs/ctree.h
parent690587d109ffe19d6743e4cc80c18b0906b7f9ff (diff)
downloadlinux-stable-0eda294dfc980c1cbe4f8a0564bf543f86a01ddb.tar.gz
linux-stable-0eda294dfc980c1cbe4f8a0564bf543f86a01ddb.tar.bz2
linux-stable-0eda294dfc980c1cbe4f8a0564bf543f86a01ddb.zip
Btrfs: fix btrfs acl #ifdef checks
The btrfs acl code was #ifdefing for a define that didn't exist. This correctly matches it to the values used by the Kconfig file. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index d0cede5ff25e..dfd7e6fc66d3 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -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