summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2014-10-11 09:10:07 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2014-10-24 16:39:31 +0200
commitfd1aa7fd5a1ccd7ebcf3446988110ad5c16fddc7 (patch)
tree74366d995f922d80be87a822e1a75f4315ac2396
parent128131dbc579daf510c4aa7b5cd8f0ca076539a3 (diff)
downloadlvm2-fd1aa7fd5a1ccd7ebcf3446988110ad5c16fddc7.tar.gz
segments: disable init of free segment
Since it is not needed and would require separate code for validation disable its initialization.
-rw-r--r--lib/commands/toolcontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/commands/toolcontext.c b/lib/commands/toolcontext.c
index e38aa5634..72525f51e 100644
--- a/lib/commands/toolcontext.c
+++ b/lib/commands/toolcontext.c
@@ -1218,7 +1218,7 @@ static int _init_segtypes(struct cmd_context *cmd)
init_striped_segtype,
init_zero_segtype,
init_error_segtype,
- init_free_segtype,
+ /* disabled until needed init_free_segtype, */
#ifdef SNAPSHOT_INTERNAL
init_snapshot_segtype,
#endif