Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2012 18:37:59 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r241323 - stable/8/sys/kern
Message-ID:  <201210071837.q97IbxHV049460@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210071837.q97IbxHV049460>