[Midnightbsd-cvs] src [8179] trunk/sys/kern/kern_conf.c: Remove D_NEEDGIANT from dead_devsw.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Sep 16 22:49:30 EDT 2016
Revision: 8179
http://svnweb.midnightbsd.org/src/?rev=8179
Author: laffer1
Date: 2016-09-16 22:49:29 -0400 (Fri, 16 Sep 2016)
Log Message:
-----------
Remove D_NEEDGIANT from dead_devsw. biofinish() (and thus dead_strategy)
does not need Giant.
Modified Paths:
--------------
trunk/sys/kern/kern_conf.c
Modified: trunk/sys/kern/kern_conf.c
===================================================================
--- trunk/sys/kern/kern_conf.c 2016-09-17 02:48:38 UTC (rev 8178)
+++ trunk/sys/kern/kern_conf.c 2016-09-17 02:49:29 UTC (rev 8179)
@@ -306,7 +306,6 @@
static struct cdevsw dead_cdevsw = {
.d_version = D_VERSION,
- .d_flags = D_NEEDGIANT, /* XXX: does dead_strategy need this ? */
.d_open = dead_open,
.d_close = dead_close,
.d_read = dead_read,
More information about the Midnightbsd-cvs
mailing list