aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/migrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/migrate.c b/mm/migrate.c
index 20a8c2687b1e..7f50e3ff54cd 100644
--- a/mm/migrate.c
+++ b/mm/migrate.c
@@ -525,7 +525,7 @@ static int fallback_migrate_page(struct address_space *mapping,
525 * Buffers may be managed in a filesystem specific way. 525 * Buffers may be managed in a filesystem specific way.
526 * We must have no buffers or drop them. 526 * We must have no buffers or drop them.
527 */ 527 */
528 if (page_has_buffers(page) && 528 if (PagePrivate(page) &&
529 !try_to_release_page(page, GFP_KERNEL)) 529 !try_to_release_page(page, GFP_KERNEL))
530 return -EAGAIN; 530 return -EAGAIN;
531 531