diff options
author | Sanju Rakonde <srakonde@redhat.com> | 2018-04-02 20:30:16 +0530 |
---|---|---|
committer | Sanju Rakonde <srakonde@redhat.com> | 2018-04-02 22:58:40 +0530 |
commit | 64376e107733e129497cd200a69725c489e9b286 (patch) | |
tree | 95432612d7c40ebeb36672af37837120c7b3f8f2 | |
parent | f8d1148b7c5eb77558d279967146048f48fa392e (diff) |
glusterd: setting mgmt_v3_timer->timer to NULL after deleting mgmt_v3_timer
We are setting mgmt_v3_timer->timer to NULL after mgmt_v3_timer is deleted
which is unnecessary. So removing the statement.
This issue is caught while running glusterd with ASAN.
Change-Id: Ied1f91590a2c64ec1af36d4de9c3febd6cf94bb9
Fixes: bz#1562907
Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-locks.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-locks.c b/xlators/mgmt/glusterd/src/glusterd-locks.c index b594c436cb7..33277058db8 100644 --- a/xlators/mgmt/glusterd/src/glusterd-locks.c +++ b/xlators/mgmt/glusterd/src/glusterd-locks.c @@ -902,7 +902,6 @@ glusterd_mgmt_v3_unlock (const char *name, uuid_t uuid, char *type) gf_timer_call_cancel (mgmt_lock_timer_ctx, mgmt_lock_timer->timer); dict_del (priv->mgmt_v3_lock_timer, key_dup); - mgmt_lock_timer->timer = NULL; } out: |