Subject: CVS commit: src/sys/ufs/ffs
To: None <source-changes@NetBSD.org>
From: Juergen Hannken-Illjes <hannken@netbsd.org>
List: source-changes
Date: 06/12/2006 16:37:00
Module Name:	src
Committed By:	hannken
Date:		Mon Jun 12 16:37:00 UTC 2006

Modified Files:
	src/sys/ufs/ffs: ffs_softdep.c

Log Message:
softdep_sync_metadata: If vp is a block device it may have new I/O requests
posted for it even if the vnode is locked. This will deadlock with wmesg
"softgetdbuf" if it gets a BMSAFEMAP dependency as here we have "bp == nbp"
and try to get a buffer we already own.

Approved by: Frank van der Linden <fvdl@netbsd.org>


To generate a diff of this commit:
cvs rdiff -r1.74 -r1.75 src/sys/ufs/ffs/ffs_softdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.