svn commit: r189095 - head/sys/dev/ata

Alexander Motin mav at FreeBSD.org
Thu Feb 26 15:21:34 PST 2009


Author: mav
Date: Thu Feb 26 23:21:32 2009
New Revision: 189095
URL: http://svn.freebsd.org/changeset/base/189095

Log:
  Rollback rev. 189093.
  
  mtx_lock() is not needed there as callout initialized with callout_init_mtx().
  Sorry.
  
  Submitted by:	Ian Dowse

Modified:
  head/sys/dev/ata/ata-queue.c

Modified: head/sys/dev/ata/ata-queue.c
==============================================================================
--- head/sys/dev/ata/ata-queue.c	Thu Feb 26 23:07:40 2009	(r189094)
+++ head/sys/dev/ata/ata-queue.c	Thu Feb 26 23:21:32 2009	(r189095)
@@ -497,7 +497,6 @@ ata_timeout(struct ata_request *request)
     //request->flags |= ATA_R_DEBUG;
     ATA_DEBUG_RQ(request, "timeout");
 
-    mtx_lock(&ch->state_mtx);
     /*
      * if we have an ATA_ACTIVE request running, we flag the request 
      * ATA_R_TIMEOUT so ata_finish will handle it correctly


More information about the svn-src-head mailing list