diff options
Diffstat (limited to 'sys/scsi/scsi_base.c')
-rw-r--r-- | sys/scsi/scsi_base.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c index ec43d205eec..5f54f531551 100644 --- a/sys/scsi/scsi_base.c +++ b/sys/scsi/scsi_base.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_base.c,v 1.133 2009/08/13 19:49:31 dlg Exp $ */ +/* $OpenBSD: scsi_base.c,v 1.134 2009/08/13 21:35:56 dlg Exp $ */ /* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */ /* @@ -774,9 +774,11 @@ scsi_done(struct scsi_xfer *xs) struct buf *bp; int error; + SC_DEBUG(sc_link, SDEV_DB2, ("scsi_done\n")); + splassert(IPL_BIO); - SC_DEBUG(sc_link, SDEV_DB2, ("scsi_done\n")); + xs->flags |= ITSDONE; /* * If it's a user level request, bypass all usual completion processing, |