diff options
author | Ondrej Kozina <okozina@redhat.com> | 2016-03-16 16:15:56 +0100 |
---|---|---|
committer | Ondrej Kozina <okozina@redhat.com> | 2016-03-16 16:15:56 +0100 |
commit | 6390fe78cc99c16760c6e16af2ab663dbb6c1c10 (patch) | |
tree | fe329135c1934600ff9f1089c530417b1b3a6692 | |
parent | 0d6c6553bde10adbe3b471ff18ae21c22d29b501 (diff) | |
download | lvm2-6390fe78cc99c16760c6e16af2ab663dbb6c1c10.tar.gz |
lvmpolld: do not drop info about finished opsdev-okozina-lvmpolld
-rw-r--r-- | daemons/lvmpolld/lvmpolld-core.c | 2 |
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 */ |