Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42809
b: refs/heads/master
c: 38da288
h: refs/heads/master
i:
  42807: 699a35c
v: v3
  • Loading branch information
OGAWA Hirofumi authored and Linus Torvalds committed Dec 7, 2006
1 parent b493b1c commit 2a62259
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8bca98cabf6db738b06d6f3b6d4b6c5f2a5cb7b6
refs/heads/master: 38da288b8ba2b07b4e07165027e650b61d7c8ffc
8 changes: 1 addition & 7 deletions trunk/mm/readahead.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,7 @@ int read_cache_pages(struct address_space *mapping, struct list_head *pages,
if (!pagevec_add(&lru_pvec, page))
__pagevec_lru_add(&lru_pvec);
if (ret) {
while (!list_empty(pages)) {
struct page *victim;

victim = list_to_page(pages);
list_del(&victim->lru);
page_cache_release(victim);
}
put_pages_list(pages);
break;
}
}
Expand Down

0 comments on commit 2a62259

Please sign in to comment.