From cc278d3cfe17eadb0ef6db6bf48675ff0a4a9270 Mon Sep 17 00:00:00 2001 From: Hannes Reinecke Date: Thu, 18 Dec 2008 16:20:09 +0100 Subject: [PATCH] Add missing unlock() on exit path We forgot to unlock the paths on exit. Signed-off-by: Hannes Reinecke --- libmultipath/configure.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libmultipath/configure.c b/libmultipath/configure.c index 9f9c118..783ea40 100644 --- a/libmultipath/configure.c +++ b/libmultipath/configure.c @@ -342,6 +342,7 @@ domap (struct multipath * mpp) if (dm_map_present(mpp->alias)) { condlog(3, "%s: map already present", mpp->alias); + lock_multipath(mpp, 0); break; } -- 2.7.4