sparc64: Sign extend length arg to truncate syscalls when compat.
authorDavid S. Miller <davem@davemloft.net>
Tue, 28 Jul 2009 01:10:28 +0000 (18:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jul 2009 01:10:28 +0000 (18:10 -0700)
The first thing sys_truncate() and sys_ftruncate() do is sign extend
the unsigned length arg to a signed type.

Thanks to Benjamin Herrenschmidt for the tip.

Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found