diff options
Diffstat (limited to 'fs/ext4/acl.h')
-rw-r--r-- | fs/ext4/acl.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/fs/ext4/acl.h b/fs/ext4/acl.h index 18cb39ed7c7b..da2c79577d72 100644 --- a/fs/ext4/acl.h +++ b/fs/ext4/acl.h | |||
@@ -55,18 +55,13 @@ static inline int ext4_acl_count(size_t size) | |||
55 | 55 | ||
56 | /* acl.c */ | 56 | /* acl.c */ |
57 | struct posix_acl *ext4_get_acl(struct inode *inode, int type); | 57 | struct posix_acl *ext4_get_acl(struct inode *inode, int type); |
58 | extern int ext4_acl_chmod(struct inode *); | 58 | int ext4_set_acl(struct inode *inode, struct posix_acl *acl, int type); |
59 | extern int ext4_init_acl(handle_t *, struct inode *, struct inode *); | 59 | extern int ext4_init_acl(handle_t *, struct inode *, struct inode *); |
60 | 60 | ||
61 | #else /* CONFIG_EXT4_FS_POSIX_ACL */ | 61 | #else /* CONFIG_EXT4_FS_POSIX_ACL */ |
62 | #include <linux/sched.h> | 62 | #include <linux/sched.h> |
63 | #define ext4_get_acl NULL | 63 | #define ext4_get_acl NULL |
64 | 64 | #define ext4_set_acl NULL | |
65 | static inline int | ||
66 | ext4_acl_chmod(struct inode *inode) | ||
67 | { | ||
68 | return 0; | ||
69 | } | ||
70 | 65 | ||
71 | static inline int | 66 | static inline int |
72 | ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) | 67 | ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) |