diff options
Diffstat (limited to 'mm/truncate.c')
-rw-r--r-- | mm/truncate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/truncate.c b/mm/truncate.c index fca28839c46e..11ca480701dd 100644 --- a/mm/truncate.c +++ b/mm/truncate.c | |||
@@ -302,7 +302,7 @@ invalidate_complete_page2(struct address_space *mapping, struct page *page) | |||
302 | if (page->mapping != mapping) | 302 | if (page->mapping != mapping) |
303 | return 0; | 303 | return 0; |
304 | 304 | ||
305 | if (PagePrivate(page) && !try_to_release_page(page, 0)) | 305 | if (PagePrivate(page) && !try_to_release_page(page, GFP_KERNEL)) |
306 | return 0; | 306 | return 0; |
307 | 307 | ||
308 | write_lock_irq(&mapping->tree_lock); | 308 | write_lock_irq(&mapping->tree_lock); |