diff options
author | kib <kib@FreeBSD.org> | 2008-01-03 12:28:57 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-01-03 12:28:57 +0000 |
commit | 149cd5b092a10623753758846599e566ae3a2264 (patch) | |
tree | 841aa963960012b020a2fe20cefe062876f0748d /lib/libc/stdio/vasprintf.c | |
parent | 545d26e30bb60df264b73543bf214c7e006f18fb (diff) | |
download | FreeBSD-src-149cd5b092a10623753758846599e566ae3a2264.zip FreeBSD-src-149cd5b092a10623753758846599e566ae3a2264.tar.gz |
ffs_balloc_ufsX() routines, in the case of recovering from the failed
allocation, free the indirect blocks before clearing the disk pointers,
that could lead to the softupdate inconsistencies in the case of the
machine or disk crash at the wrong time.
Rearrange the recover code to do the ffs_blkfree() after the second
ffs_syncvnode(), that clears the pointers chain.
Proposed and reviewed by: tegge
Tested by: Peter Holm
MFC after: 3 weeks
Diffstat (limited to 'lib/libc/stdio/vasprintf.c')
0 files changed, 0 insertions, 0 deletions