]> Pileus Git - ~andy/linux/blobdiff - fs/open.c
NFS: Get rid of the NFS_MOUNT_VER3 and NFS_MOUNT_TCP flags
[~andy/linux] / fs / open.c
index 31191bf513e40ebcbd05668cc0db2bc46c1c1311..4f01e06227c69190525944d4a6da07b850715172 100644 (file)
--- a/fs/open.c
+++ b/fs/open.c
@@ -290,10 +290,9 @@ out:
        return error;
 }
 
-SYSCALL_DEFINE2(truncate, const char __user *, path, unsigned long, length)
+SYSCALL_DEFINE2(truncate, const char __user *, path, long, length)
 {
-       /* on 32-bit boxen it will cut the range 2^31--2^32-1 off */
-       return do_sys_truncate(path, (long)length);
+       return do_sys_truncate(path, length);
 }
 
 static long do_sys_ftruncate(unsigned int fd, loff_t length, int small)