projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
slab: alien caches must not be initialized if the allocation of the alien cache failed
[linux-2.6-block.git]
/
mm
/
swap.c
diff --git
a/mm/swap.c
b/mm/swap.c
index 4d8a1f1afaab44976ce3f4bb1e9efd690276e819..4929bc1be60efaac6276288540cd61c244244753 100644
(file)
--- a/
mm/swap.c
+++ b/
mm/swap.c
@@
-126,7
+126,7
@@
void put_pages_list(struct list_head *pages)
while (!list_empty(pages)) {
struct page *victim;
- victim = l
ist_entry(pages->prev, struct page, lru
);
+ victim = l
ru_to_page(pages
);
list_del(&victim->lru);
put_page(victim);
}