From fd1aa7fd5a1ccd7ebcf3446988110ad5c16fddc7 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sat, 11 Oct 2014 09:10:07 +0200 Subject: [PATCH] segments: disable init of free segment Since it is not needed and would require separate code for validation disable its initialization. --- lib/commands/toolcontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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