summaryrefslogtreecommitdiffstats
path: root/kernel/power/process.c
diff options
context:
space:
mode:
authorJan Andres2010-08-04 22:52:46 +0200
committerAl Viro2010-08-11 06:29:47 +0200
commit66a362a2aa8ffa72670259fa15e2a77a01cc2217 (patch)
treedc41e40bb9e0e8c9f1a5947c23670da9e8ba9b49 /kernel/power/process.c
parentvfs: remove unused MNT_STRICTATIME (diff)
downloadkernel-qcow2-linux-66a362a2aa8ffa72670259fa15e2a77a01cc2217.tar.gz
kernel-qcow2-linux-66a362a2aa8ffa72670259fa15e2a77a01cc2217.tar.xz
kernel-qcow2-linux-66a362a2aa8ffa72670259fa15e2a77a01cc2217.zip
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 <jandres@gmx.net> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/power/process.c')
0 files changed, 0 insertions, 0 deletions