Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2009 23:21:32 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189095 - head/sys/dev/ata
Message-ID:  <200902262321.n1QNLWIp041119@svn.freebsd.org>

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



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