page_io.c | 1 +
1 files changed, 1 insertion(+)
--- 2.5.24/mm/page_io.c~swap-bio-fail Thu Jul 4 16:17:05 2002
+++ 2.5.24-akpm/mm/page_io.c Thu Jul 4 16:22:13 2002
@@ -98,6 +98,7 @@ int swap_writepage(struct page *page)
}
bio = get_swap_bio(GFP_NOIO, page, end_swap_bio_write);
if (bio == NULL) {
+ set_page_dirty(page);
ret = -ENOMEM;
goto out;
}
-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/