radix-tree tests: properly initialize mutex
authorRoss Zwisler <[email protected]>
Tue, 11 Oct 2016 20:51:24 +0000 (13:51 -0700)
committerLinus Torvalds <[email protected]>
Tue, 11 Oct 2016 22:06:30 +0000 (15:06 -0700)
commite0176a2f1e131294824d0e50e719cd12290cf06c
tree24bc6be2fe5aea5423ad3221930a0c50c27cd423
parenteec4852543e4e6edbb6cab512fd1edc70c1f7a18
radix-tree tests: properly initialize mutex

The pthread_mutex_t in regression1.c wasn't being initialized properly.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ross Zwisler <[email protected]>
Cc: Konstantin Khlebnikov <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
tools/testing/radix-tree/regression1.c