summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
-rw-r--r--xlators/storage/posix/src/posix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index 754a45aa6fb..5a11f62dcc7 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -6639,6 +6639,7 @@ notify (xlator_t *this,
break;
case GF_EVENT_CLEANUP:
if (priv->health_check) {
+ priv->health_check_active = _gf_false;
pthread_cancel (priv->health_check);
priv->health_check = 0;
}