kib 2008-01-19 05:57:48 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
MFC rev. 1.53:
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.
Revision Changes Path
188.8.131.52 +16 -12 src/sys/ufs/ffs/ffs_balloc.c