patch-2.1.116 linux/fs/read_write.c
Next file: linux/fs/smbfs/proc.c
Previous file: linux/fs/proc/root.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Mon Aug 10 22:33:55 1998
-  Orig file: 
v2.1.115/linux/fs/read_write.c
-  Orig date: 
Fri May  8 23:14:53 1998
diff -u --recursive --new-file v2.1.115/linux/fs/read_write.c linux/fs/read_write.c
@@ -106,7 +106,7 @@
 	offset = llseek(file, ((loff_t) offset_high << 32) | offset_low,
 			origin);
 
-	retval = (int)offset & INT_MAX;
+	retval = (int)offset;
 	if (offset >= 0) {
 		retval = -EFAULT;
 		if (!copy_to_user(result, &offset, sizeof(offset)))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov