diff options
author | 2008-11-25 23:05:17 +0000 | |
---|---|---|
committer | 2008-11-25 23:05:17 +0000 | |
commit | 3864d2ce273043cb5187bcfbdc59bb8a87eb3c46 (patch) | |
tree | e9175e5a09ad81c9f5f162bec57bb2536218398f /sys/dev/softraid_raid0.c | |
parent | - move prototype to smtpd.h (diff) | |
download | wireguard-openbsd-3864d2ce273043cb5187bcfbdc59bb8a87eb3c46.tar.xz wireguard-openbsd-3864d2ce273043cb5187bcfbdc59bb8a87eb3c46.zip |
Add generic sr_scsi_done function that does the spl dance
Diffstat (limited to 'sys/dev/softraid_raid0.c')
-rw-r--r-- | sys/dev/softraid_raid0.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/softraid_raid0.c b/sys/dev/softraid_raid0.c index 9eff9facc4c..6422dd53e35 100644 --- a/sys/dev/softraid_raid0.c +++ b/sys/dev/softraid_raid0.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_raid0.c,v 1.10 2008/10/04 19:21:00 miod Exp $ */ +/* $OpenBSD: softraid_raid0.c,v 1.11 2008/11/25 23:05:17 marco Exp $ */ /* * Copyright (c) 2008 Marco Peereboom <marco@peereboom.us> * @@ -382,7 +382,7 @@ sr_raid0_intr(struct buf *bp) /* do not change the order of these 2 functions */ sr_wu_put(wu); - scsi_done(xs); + sr_scsi_done(sd, xs); if (sd->sd_sync && sd->sd_wu_pending == 0) wakeup(sd); @@ -394,6 +394,6 @@ bad: xs->error = XS_DRIVER_STUFFUP; xs->flags |= ITSDONE; sr_wu_put(wu); - scsi_done(xs); + sr_scsi_done(sd, xs); splx(s); } |