patch-1.3.75 linux/mm/swapfile.c
Next file: linux/net/ax25/af_ax25.c
Previous file: linux/kernel/sysctl.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Mar 16 11:55:40 1996
- Orig file:
v1.3.74/linux/mm/swapfile.c
- Orig date:
Fri Mar 15 16:03:21 1996
diff -u --recursive --new-file v1.3.74/linux/mm/swapfile.c linux/mm/swapfile.c
@@ -270,7 +270,7 @@
/*
* Go through process' page directory.
*/
- if (!mm)
+ if (!mm || mm == &init_mm)
return 0;
vma = mm->mmap;
while (vma) {
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