diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2008-11-25 23:05:18 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2008-11-25 23:05:18 +0000 |
commit | a4da895d5e3f5a0e64c2271f9729508beb443b0e (patch) | |
tree | d90a354d969514c81141d22e9ad2d9be38a38fb7 /sys/dev/softraid_raid1.c | |
parent | 798c8bc91f292bdf214bd165571fc5282871ea74 (diff) |
Add generic sr_scsi_done function that does the spl dance
Diffstat (limited to 'sys/dev/softraid_raid1.c')
-rw-r--r-- | sys/dev/softraid_raid1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/softraid_raid1.c b/sys/dev/softraid_raid1.c index a89294ce1c3..30c7e75ee2b 100644 --- a/sys/dev/softraid_raid1.c +++ b/sys/dev/softraid_raid1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_raid1.c,v 1.6 2008/07/19 22:41:58 marco Exp $ */ +/* $OpenBSD: softraid_raid1.c,v 1.7 2008/11/25 23:05:17 marco Exp $ */ /* * Copyright (c) 2007 Marco Peereboom <marco@peereboom.us> * @@ -511,7 +511,7 @@ sr_raid1_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); @@ -524,7 +524,7 @@ bad: xs->error = XS_DRIVER_STUFFUP; xs->flags |= ITSDONE; sr_wu_put(wu); - scsi_done(xs); + sr_scsi_done(sd, xs); splx(s); } |