]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - fs/hfsplus/acl.h
Merge tag 'qcom-arm64-defconfig-fixes-for-4.13-rc2' of git://git.kernel.org/pub/scm...
[mirror_ubuntu-artful-kernel.git] / fs / hfsplus / acl.h
CommitLineData
2c92057e
VD
1/*
2 * linux/fs/hfsplus/acl.h
3 *
4 * Vyacheslav Dubeyko <slava@dubeyko.com>
5 *
6 * Handler for Posix Access Control Lists (ACLs) support.
7 */
8
9#include <linux/posix_acl_xattr.h>
10
11#ifdef CONFIG_HFSPLUS_FS_POSIX_ACL
12
13/* posix_acl.c */
14struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type);
b0a7ab57
CH
15int hfsplus_set_posix_acl(struct inode *inode, struct posix_acl *acl,
16 int type);
2c92057e
VD
17extern int hfsplus_init_posix_acl(struct inode *, struct inode *);
18
19#else /* CONFIG_HFSPLUS_FS_POSIX_ACL */
20#define hfsplus_get_posix_acl NULL
b0a7ab57 21#define hfsplus_set_posix_acl NULL
2c92057e
VD
22
23static inline int hfsplus_init_posix_acl(struct inode *inode, struct inode *dir)
24{
25 return 0;
26}
27#endif /* CONFIG_HFSPLUS_FS_POSIX_ACL */