helper_thread: Initialize all helper_data members before using it
authorBart Van Assche <bart.vanassche@wdc.com>
Sat, 10 Mar 2018 00:46:22 +0000 (16:46 -0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 10 Mar 2018 04:34:16 +0000 (21:34 -0700)
commitb3090ff4e17888515997a8012f7b5bc5741ff493
treea2e047af9baee6d4241752e4ae330b7bf9bb27d6
parent447931d99aff4dad5fabfafc3b96341d8143d90c
helper_thread: Initialize all helper_data members before using it

This patch avoids that Valgrind reports the following:

==10492== Thread 2:
==10492== Conditional jump or move depends on uninitialised value(s)
==10492==    at 0x480295: helper_thread_main (helper_thread.c:89)
==10492==    by 0x57B961A: start_thread (pthread_create.c:465)
==10492==    by 0x5CEC98E: clone (clone.S:95)

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
helper_thread.c