aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/acl.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2013-12-20 08:16:46 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-01-25 23:58:20 -0500
commitb0a7ab5706647844e7a1b91b0c31cdb3bee1e1cc (patch)
tree44ca5a54d751a42f36acb53116da3240fc3a7bb3 /fs/hfsplus/acl.h
parenta6dda0e63e97122ce9e0ba04367e37cca28315fa (diff)
hfsplus: use generic posix ACL infrastructure
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>
Diffstat (limited to 'fs/hfsplus/acl.h')
-rw-r--r--fs/hfsplus/acl.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/fs/hfsplus/acl.h b/fs/hfsplus/acl.h
index 07c0d4947527..95c8ed9ec17f 100644
--- a/fs/hfsplus/acl.h
+++ b/fs/hfsplus/acl.h
@@ -12,16 +12,13 @@
12 12
13/* posix_acl.c */ 13/* posix_acl.c */
14struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type); 14struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type);
15extern int hfsplus_posix_acl_chmod(struct inode *); 15int hfsplus_set_posix_acl(struct inode *inode, struct posix_acl *acl,
16 int type);
16extern int hfsplus_init_posix_acl(struct inode *, struct inode *); 17extern int hfsplus_init_posix_acl(struct inode *, struct inode *);
17 18
18#else /* CONFIG_HFSPLUS_FS_POSIX_ACL */ 19#else /* CONFIG_HFSPLUS_FS_POSIX_ACL */
19#define hfsplus_get_posix_acl NULL 20#define hfsplus_get_posix_acl NULL
20 21#define hfsplus_set_posix_acl NULL
21static inline int hfsplus_posix_acl_chmod(struct inode *inode)
22{
23 return 0;
24}
25 22
26static inline int hfsplus_init_posix_acl(struct inode *inode, struct inode *dir) 23static inline int hfsplus_init_posix_acl(struct inode *inode, struct inode *dir)
27{ 24{