patch-1.3.87 linux/mm/page_io.c

Next file: linux/mm/swap.c
Previous file: linux/mm/page_alloc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.86/linux/mm/page_io.c linux/mm/page_io.c
@@ -64,7 +64,7 @@
 	if (p->swap_device) {
 		if (!wait) {
 			page->count++;
-			page->free_after = 1;
+			set_bit(PG_freeafter, &page->flags);
 			nr_async_pages++;
 		}
 		ll_rw_page(rw,p->swap_device,offset,buf);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this