patch-2.3.7 linux/mm/vmscan.c
Next file: linux/net/ipv4/ip_fragment.c
Previous file: linux/mm/swapfile.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jun 16 19:26:27 1999
- Orig file:
v2.3.6/linux/mm/vmscan.c
- Orig date:
Fri Apr 23 11:07:30 1999
diff -u --recursive --new-file v2.3.6/linux/mm/vmscan.c linux/mm/vmscan.c
@@ -157,7 +157,7 @@
add_to_swap_cache(page_map, entry);
/* We checked we were unlocked way up above, and we
have been careful not to stall until here */
- set_bit(PG_locked, &page_map->flags);
+ LockPage(page_map);
/* OK, do a physical asynchronous write to swap. */
rw_swap_page(WRITE, entry, (char *) page, 0);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)