From: Hugh Dickins Date: Tue, 10 May 2011 00:44:42 +0000 (-0700) Subject: vm: fix vm_pgoff wrap in upward expansion X-Git-Tag: v2.6.39-rc7~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42c36f63ac1366ab0ecc2d5717821362c259f517;p=pandora-kernel.git vm: fix vm_pgoff wrap in upward expansion Commit a626ca6a6564 ("vm: fix vm_pgoff wrap in stack expansion") fixed the case of an expanding mapping causing vm_pgoff wrapping when you had downward stack expansion. But there was another case where IA64 and PA-RISC expand mappings: upward expansion. This fixes that case too. Signed-off-by: Hugh Dickins Cc: stable@kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed