]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In the ufsdirhash_build() failure case for corrupted directories
authorIan Dowse <iedowse@FreeBSD.org>
Wed, 17 Aug 2005 08:48:42 +0000 (08:48 +0000)
committerIan Dowse <iedowse@FreeBSD.org>
Wed, 17 Aug 2005 08:48:42 +0000 (08:48 +0000)
commit65ed954554a855a8fe068b1d1d21aef7bc10ef79
tree406d46267ec27a1b7e5520b186bb49e6028eabac
parent516ad423b1d3d7541f9397af633a39301eea00d6
In the ufsdirhash_build() failure case for corrupted directories
or unreadable blocks, make sure to destroy the mutex we created.
Also fix an unrelated typo in a comment.

Found by: Peter Holm's stress tests
Reviewed by: dwmalone
MFC after: 3 days
sys/ufs/ufs/ufs_dirhash.c