staging: gasket: remove gasket_wait_sync()
[linux/fpc-iii.git] / fs / hfsplus / acl.h
blob488c2b75cf41acf1c822b3b26f494db60eebdc32
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * linux/fs/hfsplus/acl.h
5 * Vyacheslav Dubeyko <slava@dubeyko.com>
7 * Handler for Posix Access Control Lists (ACLs) support.
8 */
10 #include <linux/posix_acl_xattr.h>
12 #ifdef CONFIG_HFSPLUS_FS_POSIX_ACL
14 /* posix_acl.c */
15 struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type);
16 int hfsplus_set_posix_acl(struct inode *inode, struct posix_acl *acl,
17 int type);
18 extern int hfsplus_init_posix_acl(struct inode *, struct inode *);
20 #else /* CONFIG_HFSPLUS_FS_POSIX_ACL */
21 #define hfsplus_get_posix_acl NULL
22 #define hfsplus_set_posix_acl NULL
24 static inline int hfsplus_init_posix_acl(struct inode *inode, struct inode *dir)
26 return 0;
28 #endif /* CONFIG_HFSPLUS_FS_POSIX_ACL */