summaryrefslogtreecommitdiff
path: root/lib/metadata/metadata-exported.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/metadata/metadata-exported.h')
-rw-r--r--lib/metadata/metadata-exported.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/metadata/metadata-exported.h b/lib/metadata/metadata-exported.h
index 0d8db7da1..049072a5a 100644
--- a/lib/metadata/metadata-exported.h
+++ b/lib/metadata/metadata-exported.h
@@ -610,6 +610,11 @@ struct volume_group *vg_read_for_update(struct cmd_context *cmd, const char *vg_
*/
uint32_t vg_read_error(struct volume_group *vg_handle);
+/*
+ * Check if the host can access the vg.
+ */
+int access_vg(struct cmd_context *cmd, struct volume_group *vg);
+
/* pe_start and pe_end relate to any existing data so that new metadata
* areas can avoid overlap */
struct physical_volume *pv_create(const struct cmd_context *cmd,
@@ -1143,6 +1148,7 @@ struct vgcreate_params {
alloc_policy_t alloc;
int clustered; /* FIXME: put this into a 'status' variable instead? */
uint32_t vgmetadatacopies;
+ const char *system_id;
};
int validate_major_minor(const struct cmd_context *cmd,