Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/dev/raidframe Pull up following revision(s) (requeste...
details: https://anonhg.NetBSD.org/src/rev/b8e27c1e5f84
branches: netbsd-9
changeset: 1029040:b8e27c1e5f84
user: martin <martin%NetBSD.org@localhost>
date: Sun Dec 19 16:29:43 2021 +0000
description:
Pull up following revision(s) (requested by mrg in ticket #1394):
sys/dev/raidframe/rf_diskqueue.c: revision 1.63 (patch)
call buf_destroy() after buf_init(). hopefully fixes the lockdebug
problem shown here:
http://mail-index.netbsd.org/tech-kern/2021/12/10/msg027851.html
but seems unlikely to fix the original problem.
tested on i386/anita. ok oster@
XXX: pullup-9 (netbsd-8 uses old APIs.)
diffstat:
sys/dev/raidframe/rf_diskqueue.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 3daf46e45213 -r b8e27c1e5f84 sys/dev/raidframe/rf_diskqueue.c
--- a/sys/dev/raidframe/rf_diskqueue.c Tue Dec 14 19:06:08 2021 +0000
+++ b/sys/dev/raidframe/rf_diskqueue.c Sun Dec 19 16:29:43 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_diskqueue.c,v 1.55.4.1 2021/10/19 10:55:15 martin Exp $ */
+/* $NetBSD: rf_diskqueue.c,v 1.55.4.2 2021/12/19 16:29:43 martin Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -66,7 +66,7 @@
****************************************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_diskqueue.c,v 1.55.4.1 2021/10/19 10:55:15 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_diskqueue.c,v 1.55.4.2 2021/12/19 16:29:43 martin Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -413,6 +413,9 @@
void
rf_FreeDiskQueueData(RF_DiskQueueData_t *p)
{
+
+ buf_destroy(p->bp);
+
pool_put(&rf_pools.bufio, p->bp);
pool_put(&rf_pools.dqd, p);
}
Home |
Main Index |
Thread Index |
Old Index