mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
b0a7ab5706
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Vyacheslav Dubeyko <slava@dubeyko.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
28 lines
703 B
C
28 lines
703 B
C
/*
|
|
* linux/fs/hfsplus/acl.h
|
|
*
|
|
* Vyacheslav Dubeyko <slava@dubeyko.com>
|
|
*
|
|
* Handler for Posix Access Control Lists (ACLs) support.
|
|
*/
|
|
|
|
#include <linux/posix_acl_xattr.h>
|
|
|
|
#ifdef CONFIG_HFSPLUS_FS_POSIX_ACL
|
|
|
|
/* posix_acl.c */
|
|
struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type);
|
|
int hfsplus_set_posix_acl(struct inode *inode, struct posix_acl *acl,
|
|
int type);
|
|
extern int hfsplus_init_posix_acl(struct inode *, struct inode *);
|
|
|
|
#else /* CONFIG_HFSPLUS_FS_POSIX_ACL */
|
|
#define hfsplus_get_posix_acl NULL
|
|
#define hfsplus_set_posix_acl NULL
|
|
|
|
static inline int hfsplus_init_posix_acl(struct inode *inode, struct inode *dir)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif /* CONFIG_HFSPLUS_FS_POSIX_ACL */
|