Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Konrad Schroder <perseant@netbsd.org>
List: source-changes
Date: 04/16/1999 16:10:08
Module Name: src
Committed By: perseant
Date: Fri Apr 16 23:10:08 UTC 1999
Modified Files:
src/sys/ufs/lfs [netbsd-1-4]: lfs_alloc.c
Log Message:
Pull up src/sys/ufs/lfs: lfs_alloc.c 1.19->1.21.
This fixes another locking problem, this time a lock on ufs_hashlock in
lfs_vfree. The lock could be held by a process calling getnewvnode, and
then attempted again by lfs_vfree. This works around that, not attempting
to get the lock if curproc already holds it.