diff options
| author | riz <riz@NetBSD.org> | 2010-12-07 23:29:55 +0000 |
|---|---|---|
| committer | riz <riz@NetBSD.org> | 2010-12-07 23:29:55 +0000 |
| commit | 43c7f0bef9010cca647b829ee41cb31b48812274 (patch) | |
| tree | a3cbe2317de6e035d06c5e27f238c6455fb2be81 /gnu/lib/libmalloc | |
| parent | d98af9d36fac6238c374e2a9863327d3b066a064 (diff) | |
As currently written, writeat() expects disk blocks, not fs blocks, so
when testing that the last sector of the new size is writeable, make
sure we're ACTUALLY writing in the new space, instead of possibly
overwriting something in the existing fs.
Discovered while writing tests - tests which uncovered file corruption at
certain block sizes.
XXX should rewrite writeat() to expect fs blocks instead of disk blocks.
OK mlelstv@
Diffstat (limited to 'gnu/lib/libmalloc')
0 files changed, 0 insertions, 0 deletions
