Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 08/18/2005 22:06:25
Module Name:	src
Committed By:	nathanw
Date:		Thu Aug 18 22:06:25 UTC 2005

Modified Files:
	src/sys/dev: vnd.c

Log Message:
Call VOP_UNLOCK() in the case where VND_COMPRESSION isn't defined and
we're about to return EOPNOTSUPP. Prevents a "locking against myself"
panic in vn_close() in the error return path.

Addresses PR# kern/30958


To generate a diff of this commit:
cvs rdiff -r1.118 -r1.119 src/sys/dev/vnd.c

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