swh:1:snp:32555a3fd8878f019c2ebd6c964bc1edcaeff337
Raw File
Tip revision: 9f9499ae8e6415cefc4fe0a96ad0e27864353c89 authored by Linus Torvalds on 14 December 2015, 01:42:58 UTC
Linux 4.4-rc5
Tip revision: 9f9499a
acl.h
/*
 * 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 */
back to top