summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2010-01-21 07:28:59 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-01-21 06:40:59 -0800
commit27399cc92d62a168f768c490fc19c935e7e513f1 (patch)
treefc7334d9d593d2b5e1ef05f102c86d4fbbbf2157 /xlators
parent84fe79c086a4623e1bb1c0ca5cebff19d19d15ec (diff)
cluster/afr: Send the struct flock returned by the server to the user.
Signed-off-by: Vikas Gorur <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 521 (SPECFS validation fails over distribute + replicate) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=521
Diffstat (limited to 'xlators')
-rw-r--r--xlators/cluster/afr/src/afr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c
index c2c57968194..91189267fe7 100644
--- a/xlators/cluster/afr/src/afr.c
+++ b/xlators/cluster/afr/src/afr.c
@@ -2445,7 +2445,7 @@ afr_lk_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
/* locking has succeeded on all nodes that are up */
AFR_STACK_UNWIND (lk, frame, local->op_ret, local->op_errno,
- &local->cont.lk.flock);
+ lock);
}
return 0;