Merge branch 'master' of git://git.infradead.org/users/eparis/selinux into for-linus
[pandora-kernel.git] / security / selinux / avc.c
index 3d2715f..fcb89cb 100644 (file)
@@ -526,7 +526,7 @@ int avc_audit(u32 ssid, u32 tsid,
         * during retry. However this is logically just as if the operation
         * happened a little later.
         */
-       if ((a->type == LSM_AUDIT_DATA_FS) &&
+       if ((a->type == LSM_AUDIT_DATA_INODE) &&
            (flags & IPERM_FLAG_RCU))
                return -ECHILD;