diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 05:16:46 -0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-25 23:58:20 -0500 |
commit | b0a7ab5706647844e7a1b91b0c31cdb3bee1e1cc (patch) | |
tree | 44ca5a54d751a42f36acb53116da3240fc3a7bb3 /fs/hfsplus/acl.h | |
parent | a6dda0e63e97122ce9e0ba04367e37cca28315fa (diff) | |
download | op-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.h | 9 |
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) { |