]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/namei.c
posix_acl: Inode acl caching fixes
[mirror_ubuntu-artful-kernel.git] / fs / namei.c
index 794f81dce76606ec025e3dcf1f182a175eaa0e82..3498d53de26fe4e33aa0620f4cd5fcfb3f208149 100644 (file)
@@ -265,7 +265,7 @@ static int check_acl(struct inode *inode, int mask)
                if (!acl)
                        return -EAGAIN;
                /* no ->get_acl() calls in RCU mode... */
-               if (acl == ACL_NOT_CACHED)
+               if (is_uncached_acl(acl))
                        return -ECHILD;
                return posix_acl_permission(inode, acl, mask & ~MAY_NOT_BLOCK);
        }