integrity: path_check update
[linux-flexiantxendom0-natty.git] / mm / shmem.c
index b25f95c..a817f75 100644 (file)
@@ -2684,7 +2684,7 @@ int shmem_zero_setup(struct vm_area_struct *vma)
        if (IS_ERR(file))
                return PTR_ERR(file);
 
-       ima_shm_check(file);
+       ima_counts_get(file);
        if (vma->vm_file)
                fput(vma->vm_file);
        vma->vm_file = file;