summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2014-04-08 12:28:04 +0530
committerVijay Bellur <vbellur@redhat.com>2014-04-10 03:29:59 -0700
commitbf8c9b331b2fb55882204fa31ede3997165e6748 (patch)
tree536bcf74e4e257c9b68c5120362bc1e432f60b5e
parent4e0659a779f19bccaf44e4fa58a6c2a7a0d08f61 (diff)
features/locks: Fix a missing assignment in new_entrylk_lock()
Change-Id: If5c03456d61ec930d588b57781fb545eed18e4a2 BUG: 1085220 Signed-off-by: Vijay Bellur <vbellur@redhat.com> Reviewed-on: http://review.gluster.org/7414 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
-rw-r--r--xlators/features/locks/src/entrylk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/locks/src/entrylk.c b/xlators/features/locks/src/entrylk.c
index ea69956271f..dc86512bef0 100644
--- a/xlators/features/locks/src/entrylk.c
+++ b/xlators/features/locks/src/entrylk.c
@@ -62,6 +62,7 @@ new_entrylk_lock (pl_inode_t *pinode, const char *basename, entrylk_type type,
newlock->volume = domain;
newlock->owner = frame->root->lk_owner;
newlock->frame = frame;
+ newlock->this = frame->this;
if (conn_id) {
newlock->connection_id = gf_strdup (conn_id);