diff --git a/mm/truncate.c b/mm/truncate.c index fca28839c46e895e6d137ca7497c98736be348bd..11ca480701dd1ae38a85fc04aae7f3ebaedd6939 100644 --- a/mm/truncate.c +++ b/mm/truncate.c @@ -302,7 +302,7 @@ invalidate_complete_page2(struct address_space *mapping, struct page *page) if (page->mapping != mapping) return 0; - if (PagePrivate(page) && !try_to_release_page(page, 0)) + if (PagePrivate(page) && !try_to_release_page(page, GFP_KERNEL)) return 0; write_lock_irq(&mapping->tree_lock);