]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/orangefs/inode.c
Merge branch 'akpm' (patches from Andrew)
[mirror_ubuntu-artful-kernel.git] / fs / orangefs / inode.c
index a44caabb0fc247917dcae246e50ba7c9168039c5..8f2fa94cc4f62ef36c54cbf9c7b72dcf61b621be 100644 (file)
@@ -80,7 +80,7 @@ static int orangefs_readpages(struct file *file,
                if (!add_to_page_cache(page,
                                       mapping,
                                       page->index,
-                                      GFP_KERNEL)) {
+                                      readahead_gfp_mask(mapping))) {
                        ret = read_one_page(page);
                        gossip_debug(GOSSIP_INODE_DEBUG,
                                "failure adding page to cache, read_one_page returned: %d\n",