Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/jdolecek-ncq]: src/sys/dev/ata add forgotten destroy of queue_idle cv in...



details:   https://anonhg.NetBSD.org/src/rev/cb9885fc9b3e
branches:  jdolecek-ncq
changeset: 352771:cb9885fc9b3e
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Sep 20 19:39:36 2017 +0000

description:
add forgotten destroy of queue_idle cv in ata_queue_free()

diffstat:

 sys/dev/ata/ata.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 0fba3108c4c8 -r cb9885fc9b3e sys/dev/ata/ata.c
--- a/sys/dev/ata/ata.c Wed Sep 20 18:35:37 2017 +0000
+++ b/sys/dev/ata/ata.c Wed Sep 20 19:39:36 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ata.c,v 1.132.8.33 2017/09/19 21:06:25 jdolecek Exp $  */
+/*     $NetBSD: ata.c,v 1.132.8.34 2017/09/20 19:39:36 jdolecek Exp $  */
 
 /*
  * Copyright (c) 1998, 2001 Manuel Bouyer.  All rights reserved.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.132.8.33 2017/09/19 21:06:25 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.132.8.34 2017/09/20 19:39:36 jdolecek Exp $");
 
 #include "opt_ata.h"
 
@@ -328,6 +328,7 @@
 
        cv_destroy(&chq->queue_busy);
        cv_destroy(&chq->queue_drain);
+       cv_destroy(&chq->queue_idle);
 
        free(chq, M_DEVBUF);
 }



Home | Main Index | Thread Index | Old Index