From 1d34f1b618fe0398d4c5c60688ec382d592d92dd Mon Sep 17 00:00:00 2001 From: Benjamin Marzinski Date: Fri, 10 Feb 2012 12:13:12 -0600 Subject: [PATCH] multipath: don't remove map twice If setup_mutipath fails, it removes the map itself, so don't try to again. Signed-off-by: Benjamin Marzinski --- multipathd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multipathd/main.c b/multipathd/main.c index 1f95a2f..9cf0a80 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -530,7 +530,7 @@ rescan: * update our state from kernel regardless of create or reload */ if (setup_multipath(vecs, mpp)) - goto fail_map; + goto fail; /* if setup_multipath fails, it removes the map */ sync_map_state(mpp); -- 2.34.1