summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-common.c
diff options
context:
space:
mode:
authorSanju Rakonde <srakonde@redhat.com>2018-10-03 23:58:37 +0530
committerAtin Mukherjee <amukherj@redhat.com>2018-10-25 12:12:04 +0000
commitaae1c402b74fd02ed2f6473b896f108d82aef8e3 (patch)
treefc6780d5b93c2e91b6b8499a304286da4af1eb6f /xlators/cluster/afr/src/afr-common.c
parentc5d285b173f253be19458a6ba4470671978ab698 (diff)
glusterd: ensure volinfo->caps is set to correct value.
With the commit febf5ed4848, during the volume create op, we are setting volinfo->caps to 0, only if any of the bricks belong to the same node and brickinfo->vg[0] is null. Previously, we used to set volinfo->caps to 0, when either brick doesn't belong to the same node or brickinfo->vg[0] is null. With this patch, we set volinfo->caps to 0, when either brick doesn't belong to the same node or brickinfo->vg[0] is null. (as we do earlier without commit febf5ed4848). fixes: bz#1635820 Change-Id: I00a97415786b775fb088ac45566ad52b402f1a49 Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-common.c')
0 files changed, 0 insertions, 0 deletions