patch-2.1.44 linux/mm/mmap.c

Next file: linux/mm/slab.c
Previous file: linux/kernel/sysctl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.43/linux/mm/mmap.c linux/mm/mmap.c
@@ -311,6 +311,8 @@
 	if (correct_wcount)
 		file->f_inode->i_writecount++;
 	merge_segments(mm, vma->vm_start, vma->vm_end);
+	
+	addr = vma->vm_start;
 
 	/* merge_segments might have merged our vma, so we can't use it any more */
 	mm->total_vm += len >> PAGE_SHIFT;

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