diff options
author | shishir gowda <shishirng@gluster.com> | 2010-09-07 00:38:22 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-07 00:33:24 -0700 |
commit | 406e42973feeae6b78626f2db19971dc8f79c25f (patch) | |
tree | b7c01c6998b12383672019b5ec7cd43269c94ef7 /xlators/mgmt/glusterd/src/glusterd-volgen.c | |
parent | 4f32456db7a0b9134f3a3433704533df213cc9ad (diff) |
DHT mount fails with parsing of subvolumes
following error msg is seen in the log
E [graph.y:296:volume_sub] parser: Volume 'new-dht', line 38: subvolume 'new-client-0new-client-1new-client-2new-client-3' is not defined prior to usage
Signed-off-by: shishir gowda <shishirng@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1536 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1536
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index ec5ad2e1e7f..d368e5c98aa 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -1045,7 +1045,7 @@ __write_distribute_xlator (FILE *file, dict_t *dict, } for (i = 0; i < dist_count ; i++) { - snprintf (tmp, 4096, "%s-%d", subvolume, i); + snprintf (tmp, 4096, "%s-%d ", subvolume, i); strncat (subvol_str, tmp, strlen (tmp)); } |