projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d67a46
)
[PATCH] BLOCK: Stop fallback_migrate_page() from using page_has_buffers() [try #6]
author
David Howells
<dhowells@redhat.com>
Tue, 29 Aug 2006 18:05:58 +0000
(19:05 +0100)
committer
Jens Axboe
<axboe@nelson.home.kernel.dk>
Sat, 30 Sep 2006 18:31:20 +0000
(20:31 +0200)
Stop fallback_migrate_page() from using page_has_buffers() since that might not
be available. Use PagePrivate() instead since that's more general.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
mm/migrate.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/migrate.c
b/mm/migrate.c
index 20a8c2687b1efea5b7bb1ab23d6b9195a2e97453..7f50e3ff54cd35d3dc3baed922c39c29206d193a 100644
(file)
--- 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;