summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorXavier Hernandez <jahernan@redhat.com>2018-02-01 16:06:32 +0100
committerjiffin tony Thottan <jthottan@redhat.com>2018-02-06 07:07:33 +0000
commit086f1d088e257a3abce68a1807692c36172a8c0f (patch)
tree2993095130803aa5651a3a741559da26f5deb2a3 /libglusterfs
parente64cc2afe0f8111cf14ebe5a2d6a7c6e70af764b (diff)
cluster/afr: remove unnecessary child_up initialization
The child_up array was initialized with all elements being -1 to allow afr_notify() to differentiate down bricks from bricks that haven't reported yet. With current implementation this is not needed anymore and it was causing unexpected results when other parts of the code considered that if child_up[i] != 0, it meant that it was up. Backport of: > BUG: 1541038 Change-Id: I2a9d712ee64c512f24bd5cd3a48dcb37e3139472 BUG: 1541930 Signed-off-by: Xavier Hernandez <jahernan@redhat.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions