Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi mlelstv accidentaly dropped a mutex_enter
details: https://anonhg.NetBSD.org/src/rev/b13368d3e276
branches: trunk
changeset: 349671:b13368d3e276
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Dec 18 15:18:40 2016 +0000
description:
mlelstv accidentaly dropped a mutex_enter
diffstat:
sys/dev/scsipi/scsipi_base.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 57282f17f27e -r b13368d3e276 sys/dev/scsipi/scsipi_base.c
--- a/sys/dev/scsipi/scsipi_base.c Sun Dec 18 13:59:14 2016 +0000
+++ b/sys/dev/scsipi/scsipi_base.c Sun Dec 18 15:18:40 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scsipi_base.c,v 1.171 2016/12/18 13:59:14 mlelstv Exp $ */
+/* $NetBSD: scsipi_base.c,v 1.172 2016/12/18 15:18:40 skrll Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2002, 2003, 2004 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scsipi_base.c,v 1.171 2016/12/18 13:59:14 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scsipi_base.c,v 1.172 2016/12/18 15:18:40 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_scsi.h"
@@ -2188,6 +2188,7 @@
* for some reason.
*/
scsipi_run_queue(chan);
+ mutex_enter(chan_mtx(chan));
}
}
Home |
Main Index |
Thread Index |
Old Index