6cde7a165f
1) The vnode pager wasn't properly tracking the file size due to "size" being page rounded in some cases and not in others. This sometimes resulted in corrupted files. First noticed by Terry Lambert. Fixed by changing the "size" pager_alloc parameter to be a 64bit byte value (as opposed to a 32bit page index) and changing the pagers and their callers to deal with this properly. 2) Fixed a bogus type cast in round_page() and trunc_page() that caused some 64bit offsets and sizes to be scrambled. Removing the cast required adding casts at a few dozen callers. There may be problems with other bogus casts in close-by macros. A quick check seemed to indicate that those were okay, however. |
||
---|---|---|
.. | ||
atpic_vector.S | ||
clock.c | ||
icu_ipl.s | ||
icu_ipl.S | ||
icu_vector.s | ||
icu_vector.S | ||
icu.h | ||
intr_machdep.c | ||
intr_machdep.h | ||
isa.c | ||
isa.h | ||
nmi.c | ||
npx.c | ||
timerreg.h | ||
vector.s | ||
vector.S |