]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In the function clear_inodedeps(), a FREE_LOCK() should be called
authormckusick <mckusick@FreeBSD.org>
Mon, 23 Feb 2004 06:56:31 +0000 (06:56 +0000)
committermckusick <mckusick@FreeBSD.org>
Mon, 23 Feb 2004 06:56:31 +0000 (06:56 +0000)
commit5b78fad42baeaf31c104a72b496d6555ea58ede4
tree5828b48055dca872324be80eb0fa0fc367488304
parentd1dbb3b2d4e91529168d96b7d8acede795cce9af
In the function clear_inodedeps(), a FREE_LOCK() should be called
AFTER the call to vn_start_write(), not before it. Otherwise, it is
possible to unlock it multiple times if the vn_start_write() fails.

Submitted by: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
sys/ufs/ffs/ffs_softdep.c