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
- Lines: 9
- Date:
Mon Jul 7 08:24:28 1997
- Orig file:
v2.1.43/linux/mm/mmap.c
- Orig date:
Mon Jun 16 16:36:01 1997
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