patch-1.3.26 linux/mm/swap.c
Next file: linux/net/Changes
Previous file: linux/mm/mmap.c
Back to the patch index
Back to the overall index
-  Lines: 9
 -  Date:
Tue Sep 12 09:26:57 1995
 -  Orig file: 
v1.3.25/linux/mm/swap.c
 -  Orig date: 
Thu Sep  7 17:17:20 1995
 
diff -u --recursive --new-file v1.3.25/linux/mm/swap.c linux/mm/swap.c
@@ -578,7 +578,7 @@
 			}
 
 			p = task[swap_task];
-			if (p && p->mm->swappable && p->mm->rss)
+			if (p && p->mm && p->mm->swappable && p->mm->rss)
 				break;
 
 			swap_task++;
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