]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] fix page leak during core dump
authorBrian Pomerantz <bapper@piratehaven.org>
Mon, 2 Apr 2007 06:49:41 +0000 (23:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 2 Apr 2007 17:06:08 +0000 (10:06 -0700)
commit03221702608c60b470fc86a23bdf4bc30e5bd59f
treeab83782a3ece940838604ac8a44676e9734b6909
parent2400ff77e7025bf6ffb71afdcbfbdd9aa47dfc36
[PATCH] fix page leak during core dump

When the dump cannot occur most likely because of a full file system and
the page to be written is the zero page, the call to page_cache_release()
is missed.

Signed-off-by: Brian Pomerantz <bapper@mvista.com>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: David Howells <dhowells@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/binfmt_elf.c
fs/binfmt_elf_fdpic.c