[lvm-devel] master - segments: disable init of free segment
Zdenek Kabelac
zkabelac at fedoraproject.org
Fri Oct 24 14:40:20 UTC 2014
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=fd1aa7fd5a1ccd7ebcf3446988110ad5c16fddc7
Commit: fd1aa7fd5a1ccd7ebcf3446988110ad5c16fddc7
Parent: 128131dbc579daf510c4aa7b5cd8f0ca076539a3
Author: Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate: Sat Oct 11 09:10:07 2014 +0200
Committer: Zdenek Kabelac <zkabelac at redhat.com>
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(-)
diff --git a/lib/commands/toolcontext.c b/lib/commands/toolcontext.c
index e38aa56..72525f5 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
More information about the lvm-devel
mailing list