Subject: PR/33060 CVS commit: src/sys/dev
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Chuck Silvers <chs@netbsd.org>
List: netbsd-bugs
Date: 03/14/2006 15:10:02
The following reply was made to PR kern/33060; it has been noted by GNATS.

From: Chuck Silvers <chs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/33060 CVS commit: src/sys/dev
Date: Tue, 14 Mar 2006 15:07:29 +0000 (UTC)

 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.