From: Martin Wilck <mwilck@xxxxxxxx> Reviewed-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- libmultipath/log_pthread.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libmultipath/log_pthread.c b/libmultipath/log_pthread.c index 15baef8..0c327ff 100644 --- a/libmultipath/log_pthread.c +++ b/libmultipath/log_pthread.c @@ -112,6 +112,9 @@ void log_thread_reset (void) void log_thread_stop (void) { + if (!la) + return; + logdbg(stderr,"enter log_thread_stop\n"); pthread_mutex_lock(&logev_lock); -- 2.28.0 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel