[DRBD-cvs] svn commit by phil - r2716 - trunk/user - Fixed
drbdadadm to hande the "flexible-meta-disk intern
drbd-cvs at lists.linbit.com
drbd-cvs at lists.linbit.com
Mon Jan 29 10:10:36 CET 2007
Author: phil
Date: 2007-01-29 10:10:34 +0100 (Mon, 29 Jan 2007)
New Revision: 2716
Modified:
trunk/user/drbdadm_parser.c
Log:
Fixed drbdadadm to hande the "flexible-meta-disk internal;" statement
in the config right.
Modified: trunk/user/drbdadm_parser.c
===================================================================
--- trunk/user/drbdadm_parser.c 2007-01-24 16:50:42 UTC (rev 2715)
+++ trunk/user/drbdadm_parser.c 2007-01-29 09:10:34 UTC (rev 2716)
@@ -382,7 +382,9 @@
res->name, host->name);
EXP(TK_STRING);
host->meta_disk = yylval.txt;
- host->meta_index = strdup("flexible");
+ if (strcmp("internal", yylval.txt)) {
+ host->meta_index = strdup("flexible");
+ }
check_meta_disk(host);
switch (yylex()) {
case TK__MAJOR:
More information about the drbd-cvs
mailing list