diff options
author | Sanju Rakonde <srakonde@redhat.com> | 2018-10-03 23:58:37 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-11-05 20:38:01 +0000 |
commit | 224895148d95742c1f36b48bb79d8b9ef1ff0cd6 (patch) | |
tree | 3ec555f391f7d4ec442a73c409061017c06b80fd /xlators/features/index/src/index.c | |
parent | 23a61baaccfa22b6a71f600d985760d8f9b2b22f (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).
> BUG: bz#1635820
> Change-Id: I00a97415786b775fb088ac45566ad52b402f1a49
> Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
fixes: bz#1643052
Change-Id: I00a97415786b775fb088ac45566ad52b402f1a49
Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
Diffstat (limited to 'xlators/features/index/src/index.c')
0 files changed, 0 insertions, 0 deletions