2 * linux/fs/hfsplus/acl.h
4 * Vyacheslav Dubeyko <slava@dubeyko.com>
6 * Handler for Posix Access Control Lists (ACLs) support.
9 #include <linux/posix_acl_xattr.h>
11 #ifdef CONFIG_HFSPLUS_FS_POSIX_ACL
14 struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type);
15 extern int hfsplus_posix_acl_chmod(struct inode *);
16 extern int hfsplus_init_posix_acl(struct inode *, struct inode *);
18 #else /* CONFIG_HFSPLUS_FS_POSIX_ACL */
19 #define hfsplus_get_posix_acl NULL
21 static inline int hfsplus_posix_acl_chmod(struct inode *inode)
26 static inline int hfsplus_init_posix_acl(struct inode *inode, struct inode *dir)
30 #endif /* CONFIG_HFSPLUS_FS_POSIX_ACL */