From: Nick Piggin Date: Tue, 20 Jul 2010 20:24:25 +0000 (-0700) Subject: mm/vmscan.c: fix mapping use after free X-Git-Tag: v2.6.35-rc6~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6aa62a0909b9ccb1f8b0d2653920ba071037972;p=pandora-kernel.git mm/vmscan.c: fix mapping use after free We need lock_page_nosync() here because we have no reference to the mapping when taking the page lock. Signed-off-by: Nick Piggin Reviewed-by: Johannes Weiner Cc: Mel Gorman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed