1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-11-13 20:23:50 +03:00

metadata: Reject lvmetad metadata extensions when reading from disk.

This commit is contained in:
Petr Rockai
2015-06-10 16:25:57 +02:00
parent 4f91ad64c3
commit c78b6f18d4
5 changed files with 29 additions and 9 deletions

View File

@@ -47,7 +47,8 @@ struct text_vg_version_ops {
int (*check_version) (const struct dm_config_tree * cf);
struct volume_group *(*read_vg) (struct format_instance * fid,
const struct dm_config_tree *cf,
unsigned use_cached_pvs);
unsigned use_cached_pvs,
unsigned allow_lvmetad_extensions);
void (*read_desc) (struct dm_pool * mem, const struct dm_config_tree *cf,
time_t *when, char **desc);
int (*read_vgname) (const struct format_type *fmt,