summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-xml-output.c
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2018-07-06 12:28:53 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2018-07-10 08:49:30 +0000
commit8eb786940cfd40f07671ef117333657ef4c05218 (patch)
tree6c7df28f03b44e93beb7d3d739b4d0b0bc22cc2a /cli/src/cli-xml-output.c
parent6e4ca3168696fd85fec5a4ad29ecdbee4d2b2101 (diff)
cluster/afr: Prevent execution of code after call_count decrementing
Problem: When call_count is decremented by one thread, another thread can go ahead with the operation leading to undefined behavior for the thread executing statements after decrementing call count. Fix: Do the operations necessary before decrementing call count. fixes bz#1599629 Change-Id: Icc90cd92ac16e5fbdfe534d9f0a61312943393fe Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> (cherry picked from commit 03f1f5bdc46076178f1afdf8e2a76c5b973fe11f)
Diffstat (limited to 'cli/src/cli-xml-output.c')
0 files changed, 0 insertions, 0 deletions