1
2
3
4
5
6
7
8
9
10 #ifndef OCFS2_ACL_H
11 #define OCFS2_ACL_H
12
13 #include <linux/posix_acl_xattr.h>
14
15 struct ocfs2_acl_entry {
16 __le16 e_tag;
17 __le16 e_perm;
18 __le32 e_id;
19 };
20
21 struct posix_acl *ocfs2_iop_get_acl(struct inode *inode, int type);
22 int ocfs2_iop_set_acl(struct inode *inode, struct posix_acl *acl, int type);
23 extern int ocfs2_acl_chmod(struct inode *, struct buffer_head *);
24 extern int ocfs2_init_acl(handle_t *, struct inode *, struct inode *,
25 struct buffer_head *, struct buffer_head *,
26 struct ocfs2_alloc_context *,
27 struct ocfs2_alloc_context *);
28
29 #endif