diff options
Diffstat (limited to 'fs/ext2/acl.h')
| -rw-r--r-- | fs/ext2/acl.h | 11 | 
1 files changed, 2 insertions, 9 deletions
diff --git a/fs/ext2/acl.h b/fs/ext2/acl.h index 3ff6cbb9ac4..44937f9fcf3 100644 --- a/fs/ext2/acl.h +++ b/fs/ext2/acl.h @@ -54,22 +54,15 @@ static inline int ext2_acl_count(size_t size)  #ifdef CONFIG_EXT2_FS_POSIX_ACL  /* acl.c */ -extern int ext2_check_acl (struct inode *, int); -extern int ext2_acl_chmod (struct inode *); +extern struct posix_acl *ext2_get_acl(struct inode *inode, int type); +extern int ext2_set_acl(struct inode *inode, struct posix_acl *acl, int type);  extern int ext2_init_acl (struct inode *, struct inode *);  #else  #include <linux/sched.h> -#define ext2_check_acl	NULL  #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;  | 
