diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 14:16:44 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-26 05:58:19 +0100 |
commit | 64e178a7118b1cf7648391755e44dcc209091003 (patch) | |
tree | f06ee5408a04ee86c7a79dfd885aaab3c5f3f070 /fs/ext2/acl.h | |
parent | btrfs: use generic posix ACL infrastructure (diff) | |
download | linux-64e178a7118b1cf7648391755e44dcc209091003.tar.xz linux-64e178a7118b1cf7648391755e44dcc209091003.zip |
ext2/3/4: use generic posix ACL infrastructure
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext2/acl.h')
-rw-r--r-- | fs/ext2/acl.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/ext2/acl.h b/fs/ext2/acl.h index 503bfb0ed79b..44937f9fcf32 100644 --- a/fs/ext2/acl.h +++ b/fs/ext2/acl.h @@ -55,7 +55,7 @@ static inline int ext2_acl_count(size_t size) /* acl.c */ extern struct posix_acl *ext2_get_acl(struct inode *inode, int type); -extern int ext2_acl_chmod (struct inode *); +extern int ext2_set_acl(struct inode *inode, struct posix_acl *acl, int type); extern int ext2_init_acl (struct inode *, struct inode *); #else @@ -63,12 +63,6 @@ extern int ext2_init_acl (struct inode *, struct inode *); #define ext2_get_acl NULL #define ext2_set_acl NULL -static inline int -ext2_acl_chmod (struct inode *inode) -{ - return 0; -} - static inline int ext2_init_acl (struct inode *inode, struct inode *dir) { return 0; |