linux-stable-rt/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
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
head-mmu-fr451.S
head-uc-fr401.S
head-uc-fr451.S
head-uc-fr555.S
head.S
head.inc
init_task.c
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
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