patch-2.1.43 linux/mm/page_io.c
Next file: linux/mm/slab.c
Previous file: linux/mm/page_alloc.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon Jun 16 08:46:24 1997
- Orig file:
v2.1.42/linux/mm/page_io.c
- Orig date:
Tue May 13 22:41:20 1997
diff -u --recursive --new-file v2.1.42/linux/mm/page_io.c linux/mm/page_io.c
@@ -83,7 +83,9 @@
set_bit(PG_free_after, &page->flags);
set_bit(PG_decr_after, &page->flags);
set_bit(PG_swap_unlock_after, &page->flags);
- page->swap_unlock_entry = entry;
+ /* swap-cache shouldn't be set, but play safe */
+ PageClearSwapCache(page);
+ page->pg_swap_entry = entry;
atomic_inc(&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