perf buildid-cache: Zero out buffer of filenames when adding/removing buildid
[pandora-kernel.git] / fs / bad_inode.c
index 9ad2369..bfcb18f 100644 (file)
@@ -231,9 +231,6 @@ static int bad_inode_readlink(struct dentry *dentry, char __user *buffer,
 
 static int bad_inode_permission(struct inode *inode, int mask, unsigned int flags)
 {
-       if (flags & IPERM_FLAG_RCU)
-               return -ECHILD;
-
        return -EIO;
 }