patch-1.3.39 linux/mm/mmap.c

Next file: linux/net/Makefile
Previous file: linux/mm/memory.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.38/linux/mm/mmap.c linux/mm/mmap.c
@@ -773,7 +773,7 @@
 		kfree(mpnt);
 	}
 
-	unmap_page_range(addr, len);
+	zap_page_range(current->mm, addr, len);
 	return 0;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this