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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/acl.h b/fs/ext2/acl.h
index c939b7b1209..5c0a6a4fb05 100644
--- a/fs/ext2/acl.h
+++ b/fs/ext2/acl.h
@@ -54,13 +54,13 @@ 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, unsigned int);
+extern struct posix_acl *ext2_get_acl(struct inode *inode, int type);
extern int ext2_acl_chmod (struct inode *);
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_get_acl NULL
#define ext2_set_acl NULL