summaryrefslogtreecommitdiffstats
path: root/fs/ext2/acl.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext2/acl.h')
-rw-r--r--fs/ext2/acl.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/ext2/acl.h b/fs/ext2/acl.h
index b42cf578554..3ff6cbb9ac4 100644
--- a/fs/ext2/acl.h
+++ b/fs/ext2/acl.h
@@ -53,18 +53,14 @@ static inline int ext2_acl_count(size_t size)
#ifdef CONFIG_EXT2_FS_POSIX_ACL
-/* Value for inode->u.ext2_i.i_acl and inode->u.ext2_i.i_default_acl
- if the ACL has not been cached */
-#define EXT2_ACL_NOT_CACHED ((void *)-1)
-
/* acl.c */
-extern int ext2_permission (struct inode *, int);
+extern int ext2_check_acl (struct inode *, int);
extern int ext2_acl_chmod (struct inode *);
extern int ext2_init_acl (struct inode *, struct inode *);
#else
#include <linux/sched.h>
-#define ext2_permission NULL
+#define ext2_check_acl NULL
#define ext2_get_acl NULL
#define ext2_set_acl NULL