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
..
Makefile
asm-offsets.c
break.S
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
entry.S FRV: Wire up new system calls 2008-08-01 13:03:49 -07:00
frv_ksyms.c
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.S
head.inc
init_task.c [PATCH] take init_files to fs/file.c 2008-05-16 17:22:20 -04:00
irq-mb93091.c
irq-mb93093.c
irq-mb93493.c
irq.c
kernel_execve.S
kernel_thread.S
local.h
module.c
pm-mb93093.c
pm.c sysctl: simplify ->strategy 2008-10-16 11:21:47 -07:00
process.c
ptrace.c
setup.c
signal.c
sleep.S Fix various old email addresses for dwmw2 2008-06-06 11:29:10 -07:00
switch_to.S
sys_frv.c frv: fix mmap2 error handling 2008-12-01 19:55:24 -08:00
sysctl.c
time.c
traps.c
uaccess.c
vmlinux.lds.S