Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 03/14/2006 15:07:29
Module Name:	src
Committed By:	chs
Date:		Tue Mar 14 15:07:29 UTC 2006

Modified Files:
	src/sys/dev: fss.c fssvar.h

Log Message:
use lockmgr() instead of bespoke code for mutual exclusion in fss_ioctl().
only take the lock when we actually need it (and particularly not for
unknown cmds that are just going to fail immediately).  fixes PR 33060.


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/sys/dev/fss.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/fssvar.h

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