Commit e0176a2f authored by Ross Zwisler's avatar Ross Zwisler Committed by Linus Torvalds

radix-tree tests: properly initialize mutex

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

Link: default avatarRoss Zwisler <>
Cc: Konstantin Khlebnikov <>
Cc: Andrey Ryabinin <>
Cc: Dmitry Vyukov <>
Cc: Shuah Khan <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent eec48525
......@@ -43,7 +43,7 @@
#include "regression.h"
static RADIX_TREE(mt_tree, GFP_KERNEL);
static pthread_mutex_t mt_lock;
static pthread_mutex_t mt_lock = PTHREAD_MUTEX_INITIALIZER;
struct page {
pthread_mutex_t lock;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment