btrfs: drop from __GFP_HIGHMEM all allocations
[sfrench/cifs-2.6.git] / fs / btrfs / zstd.c
index 3e26b466476ab002620ac77ff185264024f41e1b..9451d2bb984ecf61ea13a2c19145da68a14a5ed3 100644 (file)
@@ -405,7 +405,7 @@ int zstd_compress_pages(struct list_head *ws, struct address_space *mapping,
 
 
        /* Allocate and map in the output buffer */
-       out_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM);
+       out_page = alloc_page(GFP_NOFS);
        if (out_page == NULL) {
                ret = -ENOMEM;
                goto out;
@@ -452,7 +452,7 @@ int zstd_compress_pages(struct list_head *ws, struct address_space *mapping,
                                ret = -E2BIG;
                                goto out;
                        }
-                       out_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM);
+                       out_page = alloc_page(GFP_NOFS);
                        if (out_page == NULL) {
                                ret = -ENOMEM;
                                goto out;
@@ -512,7 +512,7 @@ int zstd_compress_pages(struct list_head *ws, struct address_space *mapping,
                        ret = -E2BIG;
                        goto out;
                }
-               out_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM);
+               out_page = alloc_page(GFP_NOFS);
                if (out_page == NULL) {
                        ret = -ENOMEM;
                        goto out;