diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 08:16:46 -0500 |
---|---|---|
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) |
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 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 */ |
14 | struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type); | 14 | struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type); |
15 | extern int hfsplus_posix_acl_chmod(struct inode *); | 15 | int hfsplus_set_posix_acl(struct inode *inode, struct posix_acl *acl, |
16 | int type); | ||
16 | extern int hfsplus_init_posix_acl(struct inode *, struct inode *); | 17 | extern 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 | |
21 | static inline int hfsplus_posix_acl_chmod(struct inode *inode) | ||
22 | { | ||
23 | return 0; | ||
24 | } | ||
25 | 22 | ||
26 | static inline int hfsplus_init_posix_acl(struct inode *inode, struct inode *dir) | 23 | static inline int hfsplus_init_posix_acl(struct inode *inode, struct inode *dir) |
27 | { | 24 | { |