]> granicus.if.org Git - zfs/commit
OpenZFS 6871 - libzpool implementation of thread_create should enforce length is 0
authorGeorge Melikov <mail@gmelikov.ru>
Tue, 24 Jan 2017 17:13:49 +0000 (20:13 +0300)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 24 Jan 2017 17:13:49 +0000 (09:13 -0800)
commite2a65adbb83ddad0d8a97dd1415ad30850216336
treeb09d1f92e13adb842c0341f611a3fd2f20c11ad4
parent9ef3906a5ab1185e9941bca252c87105fdf77a94
OpenZFS 6871 - libzpool implementation of thread_create should enforce length is 0

Porting notes:
- Several direct callers of zk_thread_create() are passing TS_RUN for the
length.  The `len` and `state` were inverted,this commit fixes them.

Authored by: Eli Rosenthal <eli.rosenthal@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Ported-by: George Melikov mail@gmelikov.ru
OpenZFS-issue: https://www.illumos.org/issues/6871
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/8fc9228
Closes #5621
cmd/raidz_test/raidz_test.c
cmd/ztest/ztest.c
include/sys/zfs_context.h
lib/libzpool/kernel.c