summaryrefslogtreecommitdiff
path: root/tools/toollib.h
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2017-03-09 16:24:28 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2017-03-10 19:33:01 +0100
commit4d0793f0ec7c02fb4bec9ad092746e6fe027823f (patch)
treed329b047dfea132c629fbb865d92c12d77c1f674 /tools/toollib.h
parent7c52d550e92ec82a44b7652c285642d46a35ca69 (diff)
downloadlvm2-4d0793f0ec7c02fb4bec9ad092746e6fe027823f.tar.gz
pool: rework handling of passed args
As now we can properly recognize all paramerters for pool creation, we may drop PASS_ARG_ defines and rely on '_UNSELECTED' or 0 entries as being those without user given args. When setting are not given on command line - 'update' function fill them from profiles or configuration. For this 'profile' arg was needed to be passed around and since 'VG' itself is not needed, it's been all replaced with 'cmd, profile, extents_size' args.
Diffstat (limited to 'tools/toollib.h')
-rw-r--r--tools/toollib.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/toollib.h b/tools/toollib.h
index 22ae4913c..d5fc0b686 100644
--- a/tools/toollib.h
+++ b/tools/toollib.h
@@ -209,7 +209,6 @@ int get_activation_monitoring_mode(struct cmd_context *cmd,
int get_pool_params(struct cmd_context *cmd,
const struct segment_type *segtype,
- int *passed_args,
uint64_t *pool_metadata_size,
int *pool_metadata_spare,
uint32_t *chunk_size,