]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: fix find_extend_vma() breakage
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 12 Nov 2008 00:24:41 +0000 (01:24 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Nov 2008 18:37:48 +0000 (10:37 -0800)
commit7359135da72893c8d25fe8f08b62dfff3c8f4920
treed077bacff7d7ce6a103e3627ca7c662d233a34f7
parented51e674cecba43656a2c752fed7f4c294d75b5c
parisc: fix find_extend_vma() breakage

The STACK_GROWSUP case of stack expansion was missing a test for 'prev',
which got removed by commit 60c9f55427f33d84112d829175495d1c65d55449
("mmap.c: deinline a few functions") by mistake.

I found my original email in "sent" folder. The patch in that mail
does NOT remove !prev. That change had beed added by someone else.

Ok, I think we are not much interested in who did it, let's
fix it for good.

[ "It looks like this was caused by me fixing rejects.  That was the
  fancy include-lots-of-context-so-it-wont-apply patch." - akpm ]

Reported-and-bisected-by: Helge Deller <deller@gmx.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c