summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/syncop-utils.c
diff options
context:
space:
mode:
authorMohammed Rafi KC <rkavunga@redhat.com>2019-04-29 13:22:32 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2019-05-13 06:18:14 +0000
commite2adc9dc66dc46519007790ecd7dd57642dff0fd (patch)
treec29887337b25a280727175d6c9b5bffb5ecedfa1 /libglusterfs/src/syncop-utils.c
parent59841f7e1ff0511b04884015441a181a56d07bea (diff)
ec/shd: Cleanup self heal daemon resources during ec fini
We were not properly cleaning self-heal daemon resources during ec fini. With shd multiplexing, it is absolutely necessary to cleanup all the resources during ec fini. Change-Id: Iae4f1bce7d8c2e1da51ac568700a51088f3cc7f2 fixes: bz#1703948 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
Diffstat (limited to 'libglusterfs/src/syncop-utils.c')
-rw-r--r--libglusterfs/src/syncop-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/syncop-utils.c b/libglusterfs/src/syncop-utils.c
index b842142a0b3..4167db465f4 100644
--- a/libglusterfs/src/syncop-utils.c
+++ b/libglusterfs/src/syncop-utils.c
@@ -354,6 +354,8 @@ syncop_mt_dir_scan(call_frame_t *frame, xlator_t *subvol, loc_t *loc, int pid,
if (frame) {
this = frame->this;
+ } else {
+ this = THIS;
}
/*For this functionality to be implemented in general, we need