Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/emips/ebus One more move of bufq_free() to outside ...
details: https://anonhg.NetBSD.org/src/rev/6a80ae75c9d9
branches: trunk
changeset: 349004:6a80ae75c9d9
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sun Nov 20 03:30:11 2016 +0000
description:
One more move of bufq_free() to outside of critical section.
diffstat:
sys/arch/emips/ebus/ace_ebus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r d5f483df6ca5 -r 6a80ae75c9d9 sys/arch/emips/ebus/ace_ebus.c
--- a/sys/arch/emips/ebus/ace_ebus.c Sun Nov 20 03:11:32 2016 +0000
+++ b/sys/arch/emips/ebus/ace_ebus.c Sun Nov 20 03:30:11 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ace_ebus.c,v 1.19 2015/04/26 15:15:19 mlelstv Exp $ */
+/* $NetBSD: ace_ebus.c,v 1.20 2016/11/20 03:30:11 pgoyette Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ace_ebus.c,v 1.19 2015/04/26 15:15:19 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ace_ebus.c,v 1.20 2016/11/20 03:30:11 pgoyette Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1704,12 +1704,12 @@
/* Kill off any queued buffers. */
bufq_drain(sc->sc_q);
- bufq_free(sc->sc_q);
#if 0
sc->atabus->ata_killpending(sc->drvp);
#endif
splx(s);
+ bufq_free(sc->sc_q);
/* Detach disk. */
disk_detach(&sc->sc_dk);
Home |
Main Index |
Thread Index |
Old Index