patch-2.4.0-test2 linux/mm/mremap.c
Next file: linux/mm/slab.c
Previous file: linux/mm/mmap.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Jun 19 13:45:51 2000
- Orig file:
v2.4.0-test1/linux/mm/mremap.c
- Orig date:
Wed Apr 26 16:34:09 2000
diff -u --recursive --new-file v2.4.0-test1/linux/mm/mremap.c linux/mm/mremap.c
@@ -144,7 +144,7 @@
vmlist_modify_lock(current->mm);
insert_vm_struct(current->mm, new_vma);
merge_segments(current->mm, new_vma->vm_start, new_vma->vm_end);
- vmlist_modify_unlock(vma->vm_mm);
+ vmlist_modify_unlock(current->mm);
do_munmap(current->mm, addr, old_len);
current->mm->total_vm += new_len >> PAGE_SHIFT;
if (new_vma->vm_flags & VM_LOCKED) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)