summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/acl.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2013-12-20 05:16:46 -0800
committerAl Viro <viro@zeniv.linux.org.uk>2014-01-25 23:58:20 -0500
commitb0a7ab5706647844e7a1b91b0c31cdb3bee1e1cc (patch)
tree44ca5a54d751a42f36acb53116da3240fc3a7bb3 /fs/hfsplus/acl.h
parenta6dda0e63e97122ce9e0ba04367e37cca28315fa (diff)
downloadop-kernel-dev-b0a7ab5706647844e7a1b91b0c31cdb3bee1e1cc.zip
op-kernel-dev-b0a7ab5706647844e7a1b91b0c31cdb3bee1e1cc.tar.gz
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 07c0d49..95c8ed9 100644
--- a/fs/hfsplus/acl.h
+++ b/fs/hfsplus/acl.h
@@ -12,16 +12,13 @@
/* posix_acl.c */
struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type);
-extern int hfsplus_posix_acl_chmod(struct inode *);
+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
-
-static inline int hfsplus_posix_acl_chmod(struct inode *inode)
-{
- return 0;
-}
+#define hfsplus_set_posix_acl NULL
static inline int hfsplus_init_posix_acl(struct inode *inode, struct inode *dir)
{
OpenPOWER on IntegriCloud