OpenCloudOS-Kernel/fs/isofs
Joel & Rebecca VanderZee fb50ae7446 [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>
2006-09-29 09:18:15 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
compress.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dir.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
export.c [PATCH] isofs includes sanitized 2005-04-25 18:32:12 -07:00
inode.c [PATCH] I/O Error attempting to read last partial block of a file in an ISO9660 file system 2006-09-29 09:18:15 -07:00
isofs.h [PATCH] mark address_space_operations const 2006-06-28 14:59:04 -07:00
joliet.c It's UTF-8 2006-03-22 00:13:35 +01:00
namei.c [PATCH] isofs: remove d_splice_alias NULL check from isofs_lookup 2006-01-14 18:27:12 -08:00
rock.c [PATCH] mark address_space_operations const 2006-06-28 14:59:04 -07:00
rock.h [PATCH] rock: rename union members 2005-06-21 19:07:38 -07:00
util.c [PATCH] isofs includes sanitized 2005-04-25 18:32:12 -07:00
zisofs.h [PATCH] mark address_space_operations const 2006-06-28 14:59:04 -07:00