linux/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 FRV: Drop 'TOPDIR' from Makefiles 2008-01-28 23:14:37 +01:00
kernel frv: fix mmap2 error handling 2008-12-01 19:55:24 -08:00
lib move frv docs one level up 2008-02-03 15:54:28 +02:00
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