summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavan Sondur <pavan@gluster.com>2010-01-24 13:17:47 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-01-24 10:59:15 -0800
commit155e4cf5917554798d5cade6baa8326a0d63874a (patch)
tree2646057abb57d4b79d6c7f0a26aed01a83ecbd42
parente553411beab23d71070fd59aad02f2d328c17beb (diff)
cluster/afr: Send flock returned by locks xlator to user.
Signed-off-by: Pavan Vilas Sondur <pavan@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
-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 fa90e28..584a3f8 100644
--- a/xlators/cluster/afr/src/afr.c
+++ b/xlators/cluster/afr/src/afr.c
@@ -2065,7 +2065,7 @@ afr_lk_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
priv->children[child_index],
priv->children[child_index]->fops->lk,
local->fd, local->cont.lk.cmd,
- &local->cont.lk.flock);
+ lock);
} else if (local->op_ret == -1) {
/* all nodes have gone down */