[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)
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

diff --cc mm/nommu.c
Simple merge