MIPS: Compat: Zero upper 32-bit of offset_high and offset_low.
commitb1efe0f5cf80dee7653fb49d53cfded95ca9b3fd
authorRalf Baechle <ralf@linux-mips.org>
Sat, 28 Mar 2009 00:36:09 +0000 (28 01:36 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 28 Mar 2009 00:36:09 +0000 (28 01:36 +0100)
treed0ae6d9c9f45f6511e045a58e54835408eefe6e7
parent7543ea522697e6720df3293edbe9aa3d7cc92b8c
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