diff options
author | Josef Bacik <jbacik@redhat.com> | 2008-07-24 12:16:36 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:05 -0400 |
commit | 33268eaf0b3db5e2bd12c0ada81a8e8f87a46d68 (patch) | |
tree | 93b6d00a73402b59c2ea7ae7434138feecefc085 /fs/btrfs/ctree.h | |
parent | 6099afe88fe64b2f47c43a8a71c13be3a416bbf7 (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.h | 7 |
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); | |||
1694 | u64 btrfs_parse_size(char *str); | 1696 | u64 btrfs_parse_size(char *str); |
1695 | int btrfs_parse_options(struct btrfs_root *root, char *options); | 1697 | int btrfs_parse_options(struct btrfs_root *root, char *options); |
1696 | int btrfs_sync_fs(struct super_block *sb, int wait); | 1698 | int btrfs_sync_fs(struct super_block *sb, int wait); |
1699 | |||
1700 | /* acl.c */ | ||
1701 | int btrfs_check_acl(struct inode *inode, int mask); | ||
1702 | int btrfs_init_acl(struct inode *inode, struct inode *dir); | ||
1703 | int btrfs_acl_chmod(struct inode *inode); | ||
1697 | #endif | 1704 | #endif |