]> granicus.if.org Git - zfs/commit
ztest_resume should be ztest_resume_thread in pthread_create()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 12 Mar 2009 16:13:40 +0000 (09:13 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 12 Mar 2009 16:13:40 +0000 (09:13 -0700)
commit9de6723b834257eb5bd5c676bf02c8123df5561b
tree93817c7fc65c56fb81001757afcbc7ef71e83e58
parent15f5ddebdf6b2305cefa90490d1d1c463ba8dd65
ztest_resume should be ztest_resume_thread in pthread_create()

Fix an accidental bug introducted by the pthreads changes.  When creating
a resume thread the handler function was accidentally changed from
ztest_resume to ztest_resume_thread.  There's a decent chance this
may explain some/all of the crashes that have be observed running
ztest.  This issue was exposed and easily fixed once the -Wno-unused
check was removed from the build system.  Happily at least one real
bug fix resulted from that cleanup.
cmd/ztest/ztest.c