kernel_optimize_test/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
break.S
cmode.S
debug-stub.c
dma.c
entry-table.S
entry.S
frv_ksyms.c
futex.c
gdb-io.c
gdb-io.h
gdb-stub.c
head-mmu-fr451.S
head-uc-fr401.S
head-uc-fr451.S
head-uc-fr555.S
head.inc
head.S
init_task.c
irq-mb93091.c
irq-mb93093.c
irq-mb93493.c
irq.c
kernel_execve.S
kernel_thread.S
local.h
Makefile
module.c
pm-mb93093.c
pm.c
process.c
ptrace.c
setup.c
signal.c
sleep.S
switch_to.S
sys_frv.c
sysctl.c
time.c
traps.c
uaccess.c
vmlinux.lds.S