Fix build of dpt(4).
This commit is contained in:
parent
05e009c443
commit
e46e3354a4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user