diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2011-05-31 00:39:21 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-05-31 09:12:27 -0700 |
commit | 6cfe22bf1533c8b7d4084a9963305384d1ca1902 (patch) | |
tree | 7e5cb498984a87ef1b48e6dc41c71d3fc5541542 /xlators/cluster/afr/src/afr-lk-common.c | |
parent | 1053294b0a458264075525f08e3144d644c8c010 (diff) |
cluster/afr: Send Non-blocking lock in non-blocking entrylk
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2949 (self-heal hangs)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2949
Diffstat (limited to 'xlators/cluster/afr/src/afr-lk-common.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-lk-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-lk-common.c b/xlators/cluster/afr/src/afr-lk-common.c index 81d8c9d6910..8b214536a7f 100644 --- a/xlators/cluster/afr/src/afr-lk-common.c +++ b/xlators/cluster/afr/src/afr-lk-common.c @@ -1271,7 +1271,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; |