|
@@ -525,7 +525,7 @@ static int fallback_migrate_page(struct address_space *mapping,
|
|
* Buffers may be managed in a filesystem specific way.
|
|
* Buffers may be managed in a filesystem specific way.
|
|
* We must have no buffers or drop them.
|
|
* We must have no buffers or drop them.
|
|
*/
|
|
*/
|
|
- if (page_has_buffers(page) &&
|
|
|
|
|
|
+ if (PagePrivate(page) &&
|
|
!try_to_release_page(page, GFP_KERNEL))
|
|
!try_to_release_page(page, GFP_KERNEL))
|
|
return -EAGAIN;
|
|
return -EAGAIN;
|
|
|
|
|