diff options
| author | Mister Oyster <oysterized@gmail.com> | 2017-05-27 15:16:32 +0200 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-05-27 19:39:50 +0200 |
| commit | 91c9df9892c130fb9570b0a69ffbc7b3e2e28e9b (patch) | |
| tree | 809475c141813daec0f9f535313dc7f0acfba8df /fs/ext4/acl.h | |
| parent | a804602513a759c2c86cbba4146c5012cd2c7786 (diff) | |
BACKPORT: ext4 from 3.18 to mtk-3.10
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 18cb39ed7..da2c79577 100644 --- a/fs/ext4/acl.h +++ b/fs/ext4/acl.h @@ -55,18 +55,13 @@ static inline int ext4_acl_count(size_t size) /* acl.c */ struct posix_acl *ext4_get_acl(struct inode *inode, int type); -extern int ext4_acl_chmod(struct inode *); +int ext4_set_acl(struct inode *inode, struct posix_acl *acl, int type); extern int ext4_init_acl(handle_t *, struct inode *, struct inode *); #else /* CONFIG_EXT4_FS_POSIX_ACL */ #include <linux/sched.h> #define ext4_get_acl NULL - -static inline int -ext4_acl_chmod(struct inode *inode) -{ - return 0; -} +#define ext4_set_acl NULL static inline int ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) |
