mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-25 10:04:17 +03:00
lvmetad: Fix function prototype when not configured
Fixes: 6b129308
This commit is contained in:
parent
a57b92dec3
commit
92f1c888e0
2
lib/cache/lvmetad.h
vendored
2
lib/cache/lvmetad.h
vendored
@ -196,7 +196,7 @@ static inline int lvmetad_pvscan_single(struct cmd_context *cmd, struct device *
|
|||||||
struct dm_list *found_vgnames,
|
struct dm_list *found_vgnames,
|
||||||
struct dm_list *changed_vgnames) {return 0;}
|
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 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) {}
|
static inline void lvmetad_validate_global_cache(struct cmd_context *cmd, int force) {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user