diff options
author | Joel & Rebecca VanderZee <joel_vanderzee@yahoo.com> | 2006-09-29 02:00:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 09:18:15 -0700 |
commit | fb50ae7446abb35184be029c51f825e45a4e0670 (patch) | |
tree | 493a51a67bf5c3505f2833a551554c12a45578bd /net/core/dv.c | |
parent | e4b765551aa6355eae60b644bed851a9477c4e2b (diff) |
[PATCH] I/O Error attempting to read last partial block of a file in an ISO9660 file system
There was an I/O error that prevented reading the last partial block of
large files in an ISO9660 filesystem. The error was generated when a file
comprised more than one section and had a size that was not an exact
multiple of the filesystem block size. This patch removes the check (and
failure) for reading into the last partial block (and possibly beyond) for
multiple-section files.
It worked in my testing to prevent reading beyond the end of the section;
my first patch just incremented the sect_size block count for a partial
block and continued doing the check. But there is a commment in the source
code about reading beyond the end of the file to fill a page cache.
Failing to access beyond the section would prevent reading beyond the end
of the file.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/core/dv.c')
0 files changed, 0 insertions, 0 deletions