patch-2.3.34 linux/mm/mmap.c
Next file: linux/net/README
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Dec 16 16:20:15 1999
- Orig file:
v2.3.33/linux/mm/mmap.c
- Orig date:
Tue Dec 14 01:27:24 1999
diff -u --recursive --new-file v2.3.33/linux/mm/mmap.c linux/mm/mmap.c
@@ -684,10 +684,8 @@
end = end > mpnt->vm_end ? mpnt->vm_end : end;
size = end - st;
- lock_kernel();
if (mpnt->vm_ops && mpnt->vm_ops->unmap)
mpnt->vm_ops->unmap(mpnt, st, size);
- unlock_kernel();
remove_shared_vm_struct(mpnt);
mm->map_count--;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)