patch-1.3.89 linux/mm/memory.c

Next file: linux/net/ipv4/tcp_input.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.88/linux/mm/memory.c linux/mm/memory.c
@@ -742,7 +742,7 @@
 check_stack:
 	if (!(vma->vm_flags & VM_GROWSDOWN))
 		goto bad_area;
-	if (expand_stack(vma, start))
+	if (expand_stack(vma, start) == 0)
 		goto good_area;
 
 bad_area:

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