Module Name: src Committed By: bouyer Date: Wed Nov 23 19:42:10 UTC 2011
Modified Files: src/sys/ufs/ffs: ffs_inode.c src/sys/ufs/lfs: lfs_inode.c Log Message: If ufs_balloc_range() fails, make sure to call ?fs_truncate() to reset v_writesize to the right value. If v_writesize is left larger than the allocated blocks, we may have the same issue as the one described in http://mail-index.netbsd.org/tech-kern/2010/02/02/msg007156.html To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/sys/ufs/ffs/ffs_inode.c cvs rdiff -u -r1.125 -r1.126 src/sys/ufs/lfs/lfs_inode.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.