0001
0002
0003
0004
0005
0006
0007
0008 #ifndef OCFS2_ACL_H
0009 #define OCFS2_ACL_H
0010
0011 #include <linux/posix_acl_xattr.h>
0012
0013 struct ocfs2_acl_entry {
0014 __le16 e_tag;
0015 __le16 e_perm;
0016 __le32 e_id;
0017 };
0018
0019 struct posix_acl *ocfs2_iop_get_acl(struct inode *inode, int type, bool rcu);
0020 int ocfs2_iop_set_acl(struct user_namespace *mnt_userns, struct inode *inode,
0021 struct posix_acl *acl, int type);
0022 extern int ocfs2_acl_chmod(struct inode *, struct buffer_head *);
0023 extern int ocfs2_init_acl(handle_t *, struct inode *, struct inode *,
0024 struct buffer_head *, struct buffer_head *,
0025 struct ocfs2_alloc_context *,
0026 struct ocfs2_alloc_context *);
0027
0028 #endif