cvs commit: src/sys/ufs/ffs ffs_balloc.c
Konstantin Belousov
kib at FreeBSD.org
Fri Jan 18 21:57:48 PST 2008
kib 2008-01-19 05:57:48 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/ufs/ffs ffs_balloc.c
Log:
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
1.50.10.2 +16 -12 src/sys/ufs/ffs/ffs_balloc.c
More information about the cvs-src
mailing list