diff options
author | pluknet <pluknet@FreeBSD.org> | 2012-10-16 09:57:34 +0000 |
---|---|---|
committer | pluknet <pluknet@FreeBSD.org> | 2012-10-16 09:57:34 +0000 |
commit | 86c40ddfb934443151016d054ccb33321d4c11c5 (patch) | |
tree | 572eab946a234c9def80850605d9056763f0b381 | |
parent | b66f8a3fde2dd83159d58938d4750c7bcd860c2d (diff) | |
download | FreeBSD-src-86c40ddfb934443151016d054ccb33321d4c11c5.zip FreeBSD-src-86c40ddfb934443151016d054ccb33321d4c11c5.tar.gz |
Fix build of dpt(4).
-rw-r--r-- | sys/dev/dpt/dpt_scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/dpt/dpt_scsi.c b/sys/dev/dpt/dpt_scsi.c index 6533dd8..b4a73c9 100644 --- a/sys/dev/dpt/dpt_scsi.c +++ b/sys/dev/dpt/dpt_scsi.c @@ -720,11 +720,11 @@ dptexecuteccb(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) 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) |