Date: Tue, 16 Oct 2012 09:57:34 +0000 (UTC) From: Sergey Kandaurov <pluknet@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241605 - head/sys/dev/dpt Message-ID: <201210160957.q9G9vYQe010899@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pluknet Date: Tue Oct 16 09:57:34 2012 New Revision: 241605 URL: http://svn.freebsd.org/changeset/base/241605 Log: Fix build of dpt(4). Modified: head/sys/dev/dpt/dpt_scsi.c Modified: head/sys/dev/dpt/dpt_scsi.c ============================================================================== --- head/sys/dev/dpt/dpt_scsi.c Tue Oct 16 09:55:31 2012 (r241604) +++ head/sys/dev/dpt/dpt_scsi.c Tue Oct 16 09:57:34 2012 (r241605) @@ -720,11 +720,11 @@ dptexecuteccb(void *arg, bus_dma_segment union ccb *ccb; struct dpt_softc *dpt; - if (!dumping) - mtx_assert(&dpt->lock, MA_OWNED); dccb = (struct dpt_ccb *)arg; ccb = dccb->ccb; dpt = (struct dpt_softc *)ccb->ccb_h.ccb_dpt_ptr; + if (!dumping) + mtx_assert(&dpt->lock, MA_OWNED); if (error != 0) { if (error != EFBIG)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210160957.q9G9vYQe010899>