aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@redhat.com>2008-07-24 12:16:36 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:05 -0400
commit33268eaf0b3db5e2bd12c0ada81a8e8f87a46d68 (patch)
tree93b6d00a73402b59c2ea7ae7434138feecefc085 /fs/btrfs/ctree.h
parent6099afe88fe64b2f47c43a8a71c13be3a416bbf7 (diff)
Btrfs: Add ACL support
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 53d315bdd16d..f87d7263f2d7 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -42,6 +42,8 @@ struct btrfs_ordered_sum;
42 42
43#define BTRFS_MAGIC "_B5RfS_M" 43#define BTRFS_MAGIC "_B5RfS_M"
44 44
45#define BTRFS_ACL_NOT_CACHED ((void *)-1)
46
45#ifdef CONFIG_LOCKDEP 47#ifdef CONFIG_LOCKDEP
46# define BTRFS_MAX_LEVEL 7 48# define BTRFS_MAX_LEVEL 7
47#else 49#else
@@ -1694,4 +1696,9 @@ ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
1694u64 btrfs_parse_size(char *str); 1696u64 btrfs_parse_size(char *str);
1695int btrfs_parse_options(struct btrfs_root *root, char *options); 1697int btrfs_parse_options(struct btrfs_root *root, char *options);
1696int btrfs_sync_fs(struct super_block *sb, int wait); 1698int btrfs_sync_fs(struct super_block *sb, int wait);
1699
1700/* acl.c */
1701int btrfs_check_acl(struct inode *inode, int mask);
1702int btrfs_init_acl(struct inode *inode, struct inode *dir);
1703int btrfs_acl_chmod(struct inode *inode);
1697#endif 1704#endif