svn commit: r241323 - stable/8/sys/kern

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


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

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

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

Modified: stable/8/sys/kern/kern_conf.c
==============================================================================
--- stable/8/sys/kern/kern_conf.c	Sun Oct  7 18:37:47 2012	(r241322)
+++ stable/8/sys/kern/kern_conf.c	Sun Oct  7 18:37:59 2012	(r241323)
@@ -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 mailing list