From: Jan Andres Date: Wed, 4 Aug 2010 20:52:46 +0000 (+0200) Subject: isofs: Fix lseek() to position beyond 4 GB X-Git-Tag: v2.6.36-rc1~96^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66a362a2aa8ffa72670259fa15e2a77a01cc2217;p=pandora-kernel.git isofs: Fix lseek() to position beyond 4 GB isofs supports files larger than 4 GB by using multi-extent files. However an lseek() to a position beyond 4 GB in such a file will fail with EINVAL, because s_maxbytes in the isofs superblock is initialized to 2^32-1, and generic_file_llseek() checks against that value. I therefore suggest increasing the value of s_maxbytes to have full support for large files in isofs. With multi-extent files, file size is only limited by the maximum size of the file system (8 TB), so this seems a reasonable value for s_maxbytes. Signed-off-by: Jan Andres Signed-off-by: Al Viro --- Reading git-diff-tree failed