->permission() sanitizing: don't pass flags to ->check_acl()
[pandora-kernel.git] / fs / xfs / linux-2.6 / xfs_acl.c
index 278e673..a5dcd6a 100644 (file)
@@ -219,7 +219,7 @@ xfs_set_acl(struct inode *inode, int type, struct posix_acl *acl)
 }
 
 int
-xfs_check_acl(struct inode *inode, int mask, unsigned int flags)
+xfs_check_acl(struct inode *inode, int mask)
 {
        struct xfs_inode *ip;
        struct posix_acl *acl;