From dad0770acb2b1ccbefd317c03e2b202dfbdd0178 Mon Sep 17 00:00:00 2001
From: Susant Palai <spalai@redhat.com>
Date: Wed, 16 Sep 2015 07:04:24 -0400
Subject: [PATCH 331/331] dht/cluster: Avoid double unlock in dht_refresh_layout_cbk
Change-Id: Id230ec744e277cd6a24a09890496a0c3023e565f
BUG: 1263653
Signed-off-by: Susant Palai <spalai@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/57882
Reviewed-by: Nithya Balachandran <nbalacha@redhat.com>
Tested-by: Nithya Balachandran <nbalacha@redhat.com>
---
xlators/cluster/dht/src/dht-selfheal.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/xlators/cluster/dht/src/dht-selfheal.c b/xlators/cluster/dht/src/dht-selfheal.c
index b9b58ea..b3f1c4d 100644
--- a/xlators/cluster/dht/src/dht-selfheal.c
+++ b/xlators/cluster/dht/src/dht-selfheal.c
@@ -226,7 +226,6 @@ unlock:
err:
local->refresh_layout_unlock (frame, this, -1);
- dht_selfheal_dir_finish (frame, this, -1);
return 0;
}
@@ -293,7 +292,7 @@ dht_refresh_layout (call_frame_t *frame)
out:
local->refresh_layout_unlock (frame, this, -1);
- dht_selfheal_dir_finish (frame, this, -1);
+
return 0;
}
--
1.7.1