]> git.baikalelectronics.ru Git - kernel.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)
commit4d0a5e4c45ef5a8dab71a37b5eaf7b42d8a915fb
tree311370abb953013b7ffa458b63b376706560061e
parent9a2f0d05639e74953f2b01557c6c3d7b912ec07e
[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