Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39724
b: refs/heads/master
c: c60099b
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Oct 17, 2006
1 parent a30450e commit 7c451cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 1fec74a9cda95772887c82ede5c0ac60f5be857e
refs/heads/master: c60099bfe3a5e6fa22a930627689b3769c52153f
3 changes: 2 additions & 1 deletion trunk/kernel/power/swap.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,8 @@ static int submit(int rw, pgoff_t page_off, struct page *page,
bio_set_pages_dirty(bio);
bio_put(bio);
} else {
get_page(page);
if (rw == READ)
get_page(page); /* These pages are freed later */
bio->bi_private = *bio_chain;
*bio_chain = bio;
submit_bio(rw | (1 << BIO_RW_SYNC), bio);
Expand Down

0 comments on commit 7c451cf

Please sign in to comment.