cvs commit: src/sys/ufs/ffs ffs_balloc.c

[ Available lists | Index of cvs-src | Month of Jan 2008 | Week of 19 Jan 2008 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Konstantin Belousov <kib@FreeBSD.org>
Date
19 Jan 2008 05:57:48
Subject
cvs commit: src/sys/ufs/ffs ffs_balloc.c
Message-ID
200801190557.m0J5vm9a083142@repoman.freebsd.org


[ Hide this part ]
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


Elapsed time: 0.065 seconds