]> sourceware.org Git - lvm2.git/commitdiff
Just move declaration
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 14 Mar 2012 17:15:22 +0000 (17:15 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 14 Mar 2012 17:15:22 +0000 (17:15 +0000)
lib/cache/lvmetad.c

index 47b71feed307179057835fc14973ff2f815eadeb..356b78f2c0cc228db326ae898711cbe820c18f09 100644 (file)
@@ -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. */
This page took 0.035683 seconds and 5 git commands to generate.