Mercurial > illumos > illumos-gate
changeset 13597:3eac1e8e0f4c
1557 assertion failed in userland taskq_destroy()
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: George Wilson <gwilson@zfsmail.com>
Approved by: Eric Schrock <eric.schrock@delphix.com>
author | Garrett D'Amore <garrett@damore.org> |
---|---|
date | Sun, 05 Feb 2012 14:33:05 -0800 |
parents | 51d528ff7e15 |
children | 9db0a4a7c636 |
files | usr/src/lib/libzpool/common/taskq.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/lib/libzpool/common/taskq.c Sat Feb 04 22:28:36 2012 -0800 +++ b/usr/src/lib/libzpool/common/taskq.c Sun Feb 05 14:33:05 2012 -0800 @@ -24,6 +24,7 @@ */ /* * Copyright 2011 Nexenta Systems, Inc. All rights reserved. + * Copyright 2012 Garrett D'Amore <garrett@damore.org>. All rights reserved. */ #include <sys/zfs_context.h> @@ -136,6 +137,7 @@ t->tqent_prev->tqent_next = t; t->tqent_func = func; t->tqent_arg = arg; + t->tqent_flags = 0; cv_signal(&tq->tq_dispatch_cv); mutex_exit(&tq->tq_lock); return (1);