From: Zdenek Kabelac Date: Wed, 14 Mar 2012 17:15:22 +0000 (+0000) Subject: Just move declaration X-Git-Tag: v2_02_96~141 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=ea91741212d1e1984e6ac6d7b9fa6b50da592f43;p=lvm2.git Just move declaration --- diff --git a/lib/cache/lvmetad.c b/lib/cache/lvmetad.c index 47b71feed..356b78f2c 100644 --- a/lib/cache/lvmetad.c +++ b/lib/cache/lvmetad.c @@ -609,13 +609,14 @@ int lvmetad_pv_found(struct id pvid, struct device *device, const struct format_ int lvmetad_pv_gone(dev_t device, const char *pv_name) { + daemon_reply reply; int result; int found; if (!_using_lvmetad) return 1; - daemon_reply reply = daemon_send_simple(_lvmetad, "pv_gone", "device = %d", device, NULL); + reply = daemon_send_simple(_lvmetad, "pv_gone", "device = %d", device, NULL); result = _lvmetad_handle_reply(reply, "drop PV", pv_name, &found); /* We don't care whether or not the daemon had the PV cached. */