[PATCH] slab: remove SLAB_KERNEL
[linux-block.git] / fs / ecryptfs / crypto.c
index 776b2eed371e581bbfaa286a1382ef41b68a2c60..7196f50fe152f630f8d5b839fdfa32e3d2c4a5fd 100644 (file)
@@ -628,7 +628,7 @@ int ecryptfs_decrypt_page(struct file *file, struct page *page)
        num_extents_per_page = PAGE_CACHE_SIZE / crypt_stat->extent_size;
        base_extent = (page->index * num_extents_per_page);
        lower_page_virt = kmem_cache_alloc(ecryptfs_lower_page_cache,
-                                          SLAB_KERNEL);
+                                          GFP_KERNEL);
        if (!lower_page_virt) {
                rc = -ENOMEM;
                ecryptfs_printk(KERN_ERR, "Error getting page for encrypted "