42b64d9f91
Previous revision mistakely removed fix for DIAGNOSTIC "getblk: block size invariant failed" panic, incorporated in rev. 1.5. The problem there has been that depending on 'off', the code did bread() of 512 and after that 1024 bytes for same 'blkno'. Fix this differently than in rev. 1.5 - if 'off' would bump the read over to next device block, trim the read to end on block boundary and read rest in next loop iteration. This seems to fix the problem, and avoids the performance hit rev. 1.5 incurred. Fix bug in code handling holes for reads via read(2) - a variable was incremented instead of decremented. |
||
---|---|---|
.. | ||
Makefile | ||
TODO | ||
ntfs.h | ||
ntfs_compr.c | ||
ntfs_compr.h | ||
ntfs_conv.c | ||
ntfs_ihash.c | ||
ntfs_ihash.h | ||
ntfs_inode.h | ||
ntfs_subr.c | ||
ntfs_subr.h | ||
ntfs_vfsops.c | ||
ntfs_vfsops.h | ||
ntfs_vnops.c | ||
ntfsmount.h |