summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index 738cde83f7b..929654dad3e 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -1109,15 +1109,6 @@ client_graph_builder (glusterfs_graph_t *graph, glusterd_volinfo_t *volinfo,
return -1;
}
- if (volinfo->sub_count &&
- volinfo->brick_count % volinfo->sub_count != 0) {
- gf_log ("", GF_LOG_ERROR,
- "volume inconsistency: "
- "total number of bricks (%d) is not divisible with ",
- "number of bricks per cluster (%d)",
- volinfo->brick_count, volinfo->sub_count);
- return -1;
- }
i = 0;
list_for_each_entry (brick, &volinfo->bricks, brick_list) {