stable-2.02 - lvmetad: Fix function prototype when not configured
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=92f1c888e0881f3defb4d0220d89f6225be70f7d Commit: 92f1c888e0881f3defb4d0220d89f6225be70f7d Parent: a57b92dec396ac79c57e02e54c04e205aa85f084 Author: Marian Csontos <[email protected]> AuthorDate: Tue Sep 24 10:34:44 2019 +0200 Committer: Marian Csontos <[email protected]> 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(-)
lib/cache/lvmetad.h +1 -1
@@ -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) {}