[lvm-devel] master - lvmetad: fix previous commit

Zdenek Kabelac zkabelac at fedoraproject.org
Sun Oct 14 22:46:22 UTC 2012


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=2393b468a4703be81f1d38ea7968931d30046087
Commit:        2393b468a4703be81f1d38ea7968931d30046087
Parent:        9bb210192dd5b60582633079d4769a582ac11074
Author:        Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate:    Mon Oct 15 00:44:31 2012 +0200
Committer:     Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Mon Oct 15 00:44:31 2012 +0200

lvmetad: fix previous commit

Ooops patch conversion for gcc cleanup missed this line.
---
 lib/cache/lvmetad.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/cache/lvmetad.c b/lib/cache/lvmetad.c
index a3b45d5..f7d250e 100644
--- a/lib/cache/lvmetad.c
+++ b/lib/cache/lvmetad.c
@@ -677,7 +677,7 @@ int lvmetad_pv_found(const struct id *pvid, struct device *device, const struct
 	if (!pvmeta)
 		return_0;
 
-	info = lvmcache_info_from_pvid((const char *)&pvid, 0);
+	info = lvmcache_info_from_pvid((const char *)pvid, 0);
 
 	if (!(pvmeta->root = make_config_node(pvmeta, "pv", NULL, NULL))) {
 		dm_config_destroy(pvmeta);




More information about the lvm-devel mailing list