patch-2.3.18 linux/fs/udf/file.c

Next file: linux/fs/udf/super.c
Previous file: linux/fs/proc/root.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.17/linux/fs/udf/file.c linux/fs/udf/file.c
@@ -168,15 +168,12 @@
 			break;
 		}
 	}
+#if BITS_PER_LONG < 64
 	if (((unsigned long long) offset >> 32) != 0)
 	{
-#if BITS_PER_LONG < 64
 		return -EINVAL;
-#else
-		if (offset > ???)
-			return -EINVAL;
-#endif
 	}
+#endif
 	if (offset != file->f_pos)
 	{
 		file->f_pos = offset;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)