]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] NOMMU: don't try and give NULL to fput()
authorGavin Lambert <gavinl@compacsort.com>
Sun, 1 Oct 2006 06:27:01 +0000 (23:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 07:39:17 +0000 (00:39 -0700)
commit3fcd03e07008ec0f667dfb7626171165699ea5c2
tree311370abb953013b7ffa458b63b376706560061e
parentab8e92efcf3f7972f30033cad75f180aef4f3abc
[PATCH] NOMMU: don't try and give NULL to fput()

Don't try and give NULL to fput() in the error handling in do_mmap_pgoff()
as it'll cause an oops.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/nommu.c