summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/client/src/client.c')
-rw-r--r--xlators/protocol/client/src/client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c
index 0f55ca86e4f..45d473fdbe7 100644
--- a/xlators/protocol/client/src/client.c
+++ b/xlators/protocol/client/src/client.c
@@ -134,6 +134,9 @@ client_register_grace_timer (xlator_t *this, clnt_conf_t *conf)
} else {
gf_log (this->name, GF_LOG_INFO,
"Registering a grace timer");
+
+ conf->grace_timer_needed = _gf_false;
+
conf->grace_timer =
gf_timer_call_after (this->ctx,
conf->grace_tv,