From 3562a2eea2c37889d51e93bd8b632c373990b344 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 31 May 2011 00:54:40 +0000 Subject: cluster/afr: Send Non-blocking lock in non-blocking entrylk Signed-off-by: Pranith Kumar K Signed-off-by: Anand Avati BUG: 2949 (self-heal hangs) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2949 --- xlators/cluster/afr/src/afr-lk-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/cluster/afr/src/afr-lk-common.c b/xlators/cluster/afr/src/afr-lk-common.c index d2f7579fc..a134cd0df 100644 --- a/xlators/cluster/afr/src/afr-lk-common.c +++ b/xlators/cluster/afr/src/afr-lk-common.c @@ -1275,7 +1275,7 @@ afr_nonblocking_entrylk (call_frame_t *frame, xlator_t *this) priv->children[i], priv->children[i]->fops->entrylk, this->name, loc, basename, - ENTRYLK_LOCK, ENTRYLK_WRLCK); + ENTRYLK_LOCK_NB, ENTRYLK_WRLCK); if (!--call_count) break; -- cgit