From e2adc9dc66dc46519007790ecd7dd57642dff0fd Mon Sep 17 00:00:00 2001 From: Mohammed Rafi KC Date: Mon, 29 Apr 2019 13:22:32 +0530 Subject: 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 --- libglusterfs/src/syncop-utils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libglusterfs/src/syncop-utils.c') 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 -- cgit