kernel-ark/arch/frv
David Howells 4280e3126f frv: fix mmap2 error handling
Fix the error handling in sys_mmap2().  Currently, if the pgoff check
fails, fput() might have to be called (which it isn't), so do the pgoff
check first, before fget() is called.

Signed-off-by: David Howells <dhowells@redhat.com>
Reported-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-12-01 19:55:24 -08:00
..
boot
kernel frv: fix mmap2 error handling 2008-12-01 19:55:24 -08:00
lib
mb93090-mb00 FRV: Provide dma_map_page() for NOMMU and fix comments 2008-10-16 15:06:54 -07:00
mm FRV: Eliminate NULL test and memset after alloc_bootmem 2008-10-16 15:06:54 -07:00
defconfig
Kconfig container freezer: implement freezer cgroup subsystem 2008-10-20 08:52:34 -07:00
Kconfig.debug
Makefile