aboutsummaryrefslogtreecommitdiff
path: root/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2014-11-09 01:42:28 +0000
committerXin LI <delphij@FreeBSD.org>2014-11-09 01:42:28 +0000
commit68ce9bc32d9d354d235be081d4a9ee3055d6f554 (patch)
treed5d7141bf3b6bcc83506392dc249ddeb41dcb179 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
parent3e88eb903befabe44a72c071cd792f22c5e587bd (diff)
Apply upstream 13597:3eac1e8e0f4c (git: illumos-gate@aa846ad9):
Initialize tqent_flags in the userland taskq implementation. Without this the assertion of tq->tq_freelist != NULL may fail in taskq_destroy. The problem is that tqent_flags is never initialized in the userland implementation while the kernel one does initialize it. Without proper initialization, the flag may have its lowest bit set, making it treated as TQENT_FLAG_PREALLOC and never removing taskq_ent_t from tq_freelist. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=274303
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c')
0 files changed, 0 insertions, 0 deletions