patch-2.3.34 linux/mm/filemap.c
Next file: linux/mm/mmap.c
Previous file: linux/kernel/Makefile
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Dec 16 16:20:15 1999
- Orig file:
v2.3.33/linux/mm/filemap.c
- Orig date:
Tue Dec 7 09:32:52 1999
diff -u --recursive --new-file v2.3.33/linux/mm/filemap.c linux/mm/filemap.c
@@ -1620,7 +1620,9 @@
*/
static void filemap_unmap(struct vm_area_struct *vma, unsigned long start, size_t len)
{
+ lock_kernel();
filemap_sync(vma, start, len, MS_ASYNC);
+ unlock_kernel();
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)