svn commit: r239335 - head/sys/kern

John Baldwin jhb at FreeBSD.org
Thu Aug 16 18:04:34 UTC 2012


Author: jhb
Date: Thu Aug 16 18:04:33 2012
New Revision: 239335
URL: http://svn.freebsd.org/changeset/base/239335

Log:
  Remove D_NEEDGIANT from dead_devsw.  biofinish() (and thus dead_strategy)
  does not need Giant.
  
  MFC after:	1 month

Modified:
  head/sys/kern/kern_conf.c

Modified: head/sys/kern/kern_conf.c
==============================================================================
--- head/sys/kern/kern_conf.c	Thu Aug 16 17:55:16 2012	(r239334)
+++ head/sys/kern/kern_conf.c	Thu Aug 16 18:04:33 2012	(r239335)
@@ -307,7 +307,6 @@ dead_strategy(struct bio *bp)
 
 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 svn-src-all mailing list