svn commit: r241322 - stable/9/sys/kern

John Baldwin jhb at FreeBSD.org
Sun Oct 7 18:37:48 UTC 2012


Author: jhb
Date: Sun Oct  7 18:37:47 2012
New Revision: 241322
URL: http://svn.freebsd.org/changeset/base/241322

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

Modified:
  stable/9/sys/kern/kern_conf.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/kern_conf.c
==============================================================================
--- stable/9/sys/kern/kern_conf.c	Sun Oct  7 18:31:17 2012	(r241321)
+++ stable/9/sys/kern/kern_conf.c	Sun Oct  7 18:37:47 2012	(r241322)
@@ -306,7 +306,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-stable-9 mailing list