linux/arch/frv/kernel
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
..
asm-offsets.c frv: use kbuild.h instead of defining macros in asm-offsets.c 2008-04-29 08:06:30 -07:00
break.S FRV: arrange things such that BRA can reach from the trap table 2007-11-29 09:24:54 -08:00
cmode.S Fix various old email addresses for dwmw2 2008-06-06 11:29:10 -07:00
debug-stub.c
dma.c
entry-table.S FRV: Add support for emulation of userspace atomic ops [try #2] 2008-04-10 13:41:29 -07:00
entry.S FRV: Wire up new system calls 2008-08-01 13:03:49 -07:00
frv_ksyms.c Generic semaphore implementation 2008-04-17 10:42:34 -04:00
futex.c
gdb-io.c
gdb-io.h
gdb-stub.c frv: use the common ascii hex helpers 2008-07-26 12:00:05 -07:00
head-mmu-fr451.S
head-uc-fr401.S
head-uc-fr451.S
head-uc-fr555.S
head.inc FRV: Make NOMMU-mode work with base addresses other than 0xC0000000 [try #2] 2008-04-10 13:41:29 -07:00
head.S
init_task.c [PATCH] take init_files to fs/file.c 2008-05-16 17:22:20 -04:00
irq-mb93091.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
irq-mb93093.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
irq-mb93493.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
irq.c spelling fixes: arch/frv/ 2007-10-20 01:09:42 +02:00
kernel_execve.S
kernel_thread.S
local.h
Makefile Generic semaphore implementation 2008-04-17 10:42:34 -04:00
module.c
pm-mb93093.c
pm.c sysctl: simplify ->strategy 2008-10-16 11:21:47 -07:00
process.c
ptrace.c
setup.c procfs: constify function pointer tables 2008-02-08 09:22:38 -08:00
signal.c Remove the macro get_personality 2008-04-29 08:06:02 -07:00
sleep.S Fix various old email addresses for dwmw2 2008-06-06 11:29:10 -07:00
switch_to.S FRV: Make NOMMU-mode work with base addresses other than 0xC0000000 [try #2] 2008-04-10 13:41:29 -07:00
sys_frv.c frv: fix mmap2 error handling 2008-12-01 19:55:24 -08:00
sysctl.c
time.c xtime_lock vs update_process_times 2008-02-13 13:29:25 -08:00
traps.c kernel: Move arches to use common unaligned access 2008-04-29 08:06:27 -07:00
uaccess.c
vmlinux.lds.S FRV: Drop the .data.idt section for FRV 2008-02-20 19:58:16 -08:00