commit | 9a926d86b29a25456f1dd8c9df938e151b1c3978 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Mon Jul 27 18:10:28 2009 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 27 18:10:28 2009 -0700 |
tree | e718df684012799022e726ebdc007b1eab9cf77a | |
parent | 14d87e6c399f3942d63dff41447ff08a615d9a6b [diff] |
sparc64: Sign extend length arg to truncate syscalls when compat. 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>