summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/memcpy.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2008-01-03 12:28:57 +0000
committerkib <kib@FreeBSD.org>2008-01-03 12:28:57 +0000
commit149cd5b092a10623753758846599e566ae3a2264 (patch)
tree841aa963960012b020a2fe20cefe062876f0748d /lib/libc/string/memcpy.c
parent545d26e30bb60df264b73543bf214c7e006f18fb (diff)
downloadFreeBSD-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/string/memcpy.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud