Module Name: src Committed By: riz Date: Tue Dec 7 23:29:56 UTC 2010
Modified Files: src/sbin/resize_ffs: resize_ffs.c Log Message: 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@ To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sbin/resize_ffs/resize_ffs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.