]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/reiserfs/xattr.c
->permission() sanitizing: pass MAY_NOT_BLOCK to ->check_acl()
[karo-tx-linux.git] / fs / reiserfs / xattr.c
index ddc5301d2986eb09d1eb0ab201f34552ff2cb20e..6747470ec10396f38e9a5188ba92be426ace5158 100644 (file)
@@ -879,7 +879,7 @@ int reiserfs_check_acl(struct inode *inode, int mask, unsigned int flags)
        if (get_inode_sd_version(inode) == STAT_DATA_V1)
                return -EAGAIN;
 
-       if (flags & IPERM_FLAG_RCU)
+       if (mask & MAY_NOT_BLOCK)
                return -ECHILD;
 
        acl = reiserfs_get_acl(inode, ACL_TYPE_ACCESS);