]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - security/integrity/ima/ima_crypto.c
mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIM
[mirror_ubuntu-artful-kernel.git] / security / integrity / ima / ima_crypto.c
index e24121afb2f2773eacced7410dbdd5953a49c206..6eb62936c6723c02ca0b565ebe955aab2eb74c17 100644 (file)
@@ -126,7 +126,7 @@ static void *ima_alloc_pages(loff_t max_size, size_t *allocated_size,
 {
        void *ptr;
        int order = ima_maxorder;
-       gfp_t gfp_mask = __GFP_WAIT | __GFP_NOWARN | __GFP_NORETRY;
+       gfp_t gfp_mask = __GFP_RECLAIM | __GFP_NOWARN | __GFP_NORETRY;
 
        if (order)
                order = min(get_order(max_size), order);