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,
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to