[lvm-devel] LVM2/lib/cache lvmetad.c

zkabelac at sourceware.org zkabelac at sourceware.org
Wed Mar 14 17:15:22 UTC 2012


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac at sourceware.org	2012-03-14 17:15:22

Modified files:
	lib/cache      : lvmetad.c 

Log message:
	Just move declaration

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/cache/lvmetad.c.diff?cvsroot=lvm2&r1=1.18&r2=1.19

--- LVM2/lib/cache/lvmetad.c	2012/03/03 18:32:54	1.18
+++ LVM2/lib/cache/lvmetad.c	2012/03/14 17:15:22	1.19
@@ -609,13 +609,14 @@
 
 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. */




More information about the lvm-devel mailing list