Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/dev/scsipi pullup 1.11->1.12 (thorpej): Go to splbi...
details: https://anonhg.NetBSD.org/src/rev/ee8f211e038d
branches: netbsd-1-4
changeset: 469059:ee8f211e038d
user: perry <perry%NetBSD.org@localhost>
date: Fri Jun 25 20:38:20 1999 +0000
description:
pullup 1.11->1.12 (thorpej): Go to splbio() when calling scsipi_free_xs()
diffstat:
sys/dev/scsipi/atapi_base.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 0c79116e9570 -r ee8f211e038d sys/dev/scsipi/atapi_base.c
--- a/sys/dev/scsipi/atapi_base.c Fri Jun 25 13:51:23 1999 +0000
+++ b/sys/dev/scsipi/atapi_base.c Fri Jun 25 20:38:20 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atapi_base.c,v 1.11 1998/11/17 14:45:39 bouyer Exp $ */
+/* $NetBSD: atapi_base.c,v 1.11.4.1 1999/06/25 20:38:20 perry Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -216,7 +216,7 @@
int flags;
{
struct scsipi_xfer *xs;
- int error;
+ int error, s;
SC_DEBUG(sc_link, SDEV_DB2, ("atapi_cmd\n"));
@@ -238,7 +238,9 @@
* we have finished with the xfer stuct, free it and
* check if anyone else needs to be started up.
*/
+ s = splbio();
scsipi_free_xs(xs, flags);
+ splx(s);
return (error);
}
Home |
Main Index |
Thread Index |
Old Index