master - segments: disable init of free segment
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=fd1aa7fd5a1ccd7ebcf3446988110ad5c16fddc7 Commit: fd1aa7fd5a1ccd7ebcf3446988110ad5c16fddc7 Parent: 128131dbc579daf510c4aa7b5cd8f0ca076539a3 Author: Zdenek Kabelac <[email protected]> AuthorDate: Sat Oct 11 09:10:07 2014 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Oct 24 16:39:31 2014 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
lib/commands/toolcontext.c +1 -1
@@ -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