summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-07-23 11:25:01 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-27 11:33:38 -0700
commit1b89e8689c070ceeeafa24e03c8aed6e17540aef (patch)
treea0d608493541e597a9611aa00238a5c07cd6f5ec /xlators/cluster
parentf33cdc33e28fa8364691a853e3bee84b335a4f9c (diff)
cluster/afr: Use user-supplied struct flock to STACK_WIND
afr_lk_cbk: Use the original struct flock supplied by the user to do further STACK_WIND's, and not the flock returned by the previous STACK_WIND. Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 159 (Client hangs when coherent byte range locks is attempted in replicate setup) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=159
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/afr/src/afr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c
index 11aba41db..6b3b05c6b 100644
--- a/xlators/cluster/afr/src/afr.c
+++ b/xlators/cluster/afr/src/afr.c
@@ -2082,7 +2082,6 @@ afr_lk_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
if (op_ret == 0) {
local->op_ret = 0;
local->op_errno = 0;
- local->cont.lk.flock = *lock;
local->cont.lk.locked_nodes[child_index] = 1;
}