[lvm-devel] stable-2.02 - lvmetad: Fix function prototype when not configured
Marian Csontos
mcsontos at sourceware.org
Tue Sep 24 08:52:31 UTC 2019
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=92f1c888e0881f3defb4d0220d89f6225be70f7d
Commit: 92f1c888e0881f3defb4d0220d89f6225be70f7d
Parent: a57b92dec396ac79c57e02e54c04e205aa85f084
Author: Marian Csontos <mcsontos at redhat.com>
AuthorDate: Tue Sep 24 10:34:44 2019 +0200
Committer: Marian Csontos <mcsontos at redhat.com>
CommitterDate: Tue Sep 24 10:34:44 2019 +0200
lvmetad: Fix function prototype when not configured
Fixes: 6b129308
---
lib/cache/lvmetad.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/cache/lvmetad.h b/lib/cache/lvmetad.h
index 55ce16a..ebc3365 100644
--- a/lib/cache/lvmetad.h
+++ b/lib/cache/lvmetad.h
@@ -196,7 +196,7 @@ static inline int lvmetad_pvscan_single(struct cmd_context *cmd, struct device *
struct dm_list *found_vgnames,
struct dm_list *changed_vgnames) {return 0;}
-static inline int lvmetad_pvscan_all_devs(struct cmd_context *cmd, int do_wait) {return 0;}
+static inline int lvmetad_pvscan_all_devs(struct cmd_context *cmd, int do_wait, struct dm_list *found_vgnames) {return 0;}
static inline int lvmetad_vg_clear_outdated_pvs(struct volume_group *vg) {return 0;}
static inline void lvmetad_validate_global_cache(struct cmd_context *cmd, int force) {}
More information about the lvm-devel
mailing list