Subject: PR/33060 CVS commit: [netbsd-3] src/sys/dev
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@netbsd.org>
List: netbsd-bugs
Date: 03/17/2006 15:20:01
The following reply was made to PR kern/33060; it has been noted by GNATS.
From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/33060 CVS commit: [netbsd-3] src/sys/dev
Date: Fri, 17 Mar 2006 15:18:50 +0000 (UTC)
Module Name: src
Committed By: tron
Date: Fri Mar 17 15:18:50 UTC 2006
Modified Files:
src/sys/dev [netbsd-3]: fss.c fssvar.h
Log Message:
Pull up following revision(s) (requested by chs in ticket #1202):
sys/dev/fssvar.h: revision 1.13 via patch
sys/dev/fss.c: revision 1.23 via patch
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.13.2.2 -r1.13.2.3 src/sys/dev/fss.c
cvs rdiff -r1.8.2.1 -r1.8.2.2 src/sys/dev/fssvar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.