]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
MIPS: Compat: Zero upper 32-bit of offset_high and offset_low.
authorRalf Baechle <ralf@linux-mips.org>
Sat, 28 Mar 2009 00:36:09 +0000 (01:36 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 30 Mar 2009 12:49:40 +0000 (14:49 +0200)
commitd6c178e9694e7e0c7ffe0289cf4389a498cac735
tree8983f9b6964fb5e530a52450e0b92b5f88def2eb
parent0e6826c73c9aa785ec58b52613df7699fb31af9a
MIPS: Compat: Zero upper 32-bit of offset_high and offset_low.

Through sys_llseek() arguably should do exactly that it doesn't which
means llseek(2) will fail for o32 processes if offset_low has bit 31 set.

As suggested by Heiko Carstens.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/linux32.c