From 1b89e8689c070ceeeafa24e03c8aed6e17540aef Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Thu, 23 Jul 2009 11:25:01 +0000 Subject: 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 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 --- xlators/cluster/afr/src/afr.c | 1 - 1 file changed, 1 deletion(-) (limited to 'xlators') diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c index 11aba41d..6b3b05c6 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; } -- cgit