<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
From: Jeff Mahoney &lt;jeffm@suse.com&gt;

Since the filesystem doesn't explicitly set s-&gt;s_maxbytes, seeks will fail
beyond 2^32-1, due to s-&gt;s_maxbytes being set to the default of
MAX_NON_LFS.

Attached is the quick one liner fix.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
---

 25-akpm/fs/isofs/inode.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN fs/isofs/inode.c~files-up-to-4-gb-support-for-iso9660-filesystems fs/isofs/inode.c
--- 25/fs/isofs/inode.c~files-up-to-4-gb-support-for-iso9660-filesystems	2004-08-16 11:43:08.888298672 -0700
+++ 25-akpm/fs/isofs/inode.c	2004-08-16 11:43:08.892298064 -0700
@@ -715,6 +715,7 @@ root_found:
 	  }
 
 	s-&gt;s_magic = ISOFS_SUPER_MAGIC;
+	s-&gt;s_maxbytes = 0xffffffff; /* We can handle files up to 4 GB */
 
 	/* The CDROM is read-only, has no nodes (devices) on it, and since
 	   all of the files appear to be owned by root, we really do not want
_
</pre></body></html>