diff --git a/mm/migrate.c b/mm/migrate.c index 20a8c2687b1efea5b7bb1ab23d6b9195a2e97453..7f50e3ff54cd35d3dc3baed922c39c29206d193a 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -525,7 +525,7 @@ static int fallback_migrate_page(struct address_space *mapping, * Buffers may be managed in a filesystem specific way. * We must have no buffers or drop them. */ - if (page_has_buffers(page) && + if (PagePrivate(page) && !try_to_release_page(page, GFP_KERNEL)) return -EAGAIN;