summaryrefslogtreecommitdiffstats
path: root/glusterfsd
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2020-05-03 09:59:41 +0530
committerPranith Kumar K <pkarampu@redhat.com>2020-05-03 10:16:19 +0530
commit29d6b944b91df982f10581b0c17004089358e88c (patch)
tree8a3ce106ee4a8efc937c731f5838fbb534f85f71 /glusterfsd
parentc8d733c3ed39f297d0f56052c6dc4d02aecdbc4d (diff)
cluster/dht: Don't access local after STACK_DESTROY
There is a possibility that 'frame' could have been destroyed in dht_selfheal_dir_setattr() which can lead to local->mds_heal_fresh_lookup showing junk non-zero number. That will lead to double STACK_DESTROY. Remembered the value of the variable before the call to fix the access. Fixes: #1214 Change-Id: I37d1657798bfb549bb3887e260484d58fff42c91 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'glusterfsd')
0 files changed, 0 insertions, 0 deletions