summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Kozina <okozina@redhat.com>2016-03-16 16:15:56 +0100
committerOndrej Kozina <okozina@redhat.com>2016-03-16 16:15:56 +0100
commit6390fe78cc99c16760c6e16af2ab663dbb6c1c10 (patch)
treefe329135c1934600ff9f1089c530417b1b3a6692
parent0d6c6553bde10adbe3b471ff18ae21c22d29b501 (diff)
downloadlvm2-dev-okozina-lvmpolld.tar.gz
lvmpolld: do not drop info about finished opsdev-okozina-lvmpolld
-rw-r--r--daemons/lvmpolld/lvmpolld-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemons/lvmpolld/lvmpolld-core.c b/daemons/lvmpolld/lvmpolld-core.c
index 03867d8b4..f870da82f 100644
--- a/daemons/lvmpolld/lvmpolld-core.c
+++ b/daemons/lvmpolld/lvmpolld-core.c
@@ -577,6 +577,7 @@ static response progress_info(client_handle h, struct lvmpolld_state *ls, reques
*/
st = pdlv_get_status(pdlv);
+ /* do not be forgetful
if (st.error || st.polling_finished) {
INFO(ls, "%s: %s %s", PD_LOG_PREFIX,
"Polling finished. Removing related data structure for LV",
@@ -584,6 +585,7 @@ static response progress_info(client_handle h, struct lvmpolld_state *ls, reques
pdst_locked_remove(pdst, id);
pdlv_destroy(pdlv);
}
+ */
}
/* pdlv must not be dereferenced from now on */