summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_raid1.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2013-01-16 09:21:51 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2013-01-16 09:21:51 +0000
commit199c174cf33d9569734d7c7375041ed360c4289c (patch)
treea99fdc2f29512ea5cff64eae8013f0a6bd89bf39 /sys/dev/softraid_raid1.c
parente2ba017ceb6544af31cd5b07a045ab2c2f13561f (diff)
Consistently call sr_scsi_done instead of scsi_done.
ok krw@
Diffstat (limited to 'sys/dev/softraid_raid1.c')
-rw-r--r--sys/dev/softraid_raid1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/softraid_raid1.c b/sys/dev/softraid_raid1.c
index 2393620383f..6d0ed2a49fd 100644
--- a/sys/dev/softraid_raid1.c
+++ b/sys/dev/softraid_raid1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_raid1.c,v 1.37 2013/01/16 07:06:29 jsing Exp $ */
+/* $OpenBSD: softraid_raid1.c,v 1.38 2013/01/16 09:21:50 jsing Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
*
@@ -612,7 +612,7 @@ sr_raid1_intr(struct buf *bp)
wakeup(wu);
}
} else {
- scsi_done(xs);
+ sr_scsi_done(sd, xs);
}
if (sd->sd_sync && sd->sd_wu_pending == 0)
@@ -628,7 +628,7 @@ bad:
wu->swu_flags |= SR_WUF_REBUILDIOCOMP;
wakeup(wu);
} else {
- scsi_done(xs);
+ sr_scsi_done(sd, xs);
}
splx(s);