]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fix page leak during core dump
authorBrian Pomerantz <bapper@piratehaven.org>
Mon, 2 Apr 2007 06:49:41 +0000 (23:49 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 13 Apr 2007 20:47:18 +0000 (13:47 -0700)
commit8d6b75109e6c95fbb3d5e747f709e2e7633e6233
tree9fa540e5eda83ea3c8e596fa7d1f0637d136cf71
parentc83d476c9dfc8306bd8578555d6ec462492cc707
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: Greg Kroah-Hartman <gregkh@suse.de>
fs/binfmt_elf.c
fs/binfmt_elf_fdpic.c