patch-2.0.19 linux/mm/memory.c

Next file: linux/mm/mlock.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.18/linux/mm/memory.c linux/mm/memory.c
@@ -686,7 +686,7 @@
 	if (!size || get_fs() == KERNEL_DS)
 		return 0;
 
-	vma = find_vma(current, start);
+	vma = find_vma(current->mm, start);
 	if (!vma)
 		goto bad_area;
 	if (vma->vm_start > start)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov