Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/sys/kern Disable valid assertion "!(flag...



details:   https://anonhg.NetBSD.org/src/rev/285128160061
branches:  trunk
changeset: 838339:285128160061
user:      hannken <hannken%NetBSD.org@localhost>
date:      Sat Jan 12 10:42:40 2019 +0000

description:
Disable valid assertion "!(flags & TQ_NOQUEUE)" as "zfs send" triggers it.

diffstat:

 external/cddl/osnet/sys/kern/taskq.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r b205edb40bbb -r 285128160061 external/cddl/osnet/sys/kern/taskq.c
--- a/external/cddl/osnet/sys/kern/taskq.c      Sat Jan 12 10:42:09 2019 +0000
+++ b/external/cddl/osnet/sys/kern/taskq.c      Sat Jan 12 10:42:40 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: taskq.c,v 1.7 2018/05/28 21:05:09 chs Exp $    */
+/*     $NetBSD: taskq.c,v 1.8 2019/01/12 10:42:40 hannken Exp $        */
 
 /*
  * CDDL HEADER START
@@ -1001,7 +1001,9 @@
                /*
                 * TQ_NOQUEUE flag can't be used with non-dynamic task queues.
                 */
+#ifdef notyet
                ASSERT(!(flags & TQ_NOQUEUE));
+#endif
                /*
                 * Enqueue the task to the underlying queue.
                 */



Home | Main Index | Thread Index | Old Index