]> Pileus Git - ~andy/linux/blobdiff - fs/ext4/acl.h
O_TRUNC open shouldn't fail after file truncation
[~andy/linux] / fs / ext4 / acl.h
index 949789d2bba66b47805cc9adc008afdd7f150ca5..9d843d5deac402593b8b557e27c6ed25aafe401d 100644 (file)
@@ -54,13 +54,13 @@ static inline int ext4_acl_count(size_t size)
 #ifdef CONFIG_EXT4_FS_POSIX_ACL
 
 /* acl.c */
-extern int ext4_permission(struct inode *, int);
+extern int ext4_check_acl(struct inode *, int);
 extern int ext4_acl_chmod(struct inode *);
 extern int ext4_init_acl(handle_t *, struct inode *, struct inode *);
 
 #else  /* CONFIG_EXT4_FS_POSIX_ACL */
 #include <linux/sched.h>
-#define ext4_permission NULL
+#define ext4_check_acl NULL
 
 static inline int
 ext4_acl_chmod(struct inode *inode)