OSDN Git Service

mm, fs: obey gfp_mapping for add_to_page_cache()
[uclinux-h8/linux.git] / drivers / staging / lustre / lustre / llite / dir.c
index 769b611..a9bc6e2 100644 (file)
@@ -224,7 +224,7 @@ static int ll_dir_filler(void *_hash, struct page *page0)
 
                prefetchw(&page->flags);
                ret = add_to_page_cache_lru(page, inode->i_mapping, offset,
-                                           GFP_KERNEL);
+                                           GFP_NOFS);
                if (ret == 0) {
                        unlock_page(page);
                } else {