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-08 23:40:26 -0700
commitcbe454b7189255a74df4464e12dff0fcf0064240 (patch)
tree4d57c51a63678a0c36048b2f7eb1cc7f5e79284e
parent5216e53dedcb74079aaeaec65a2af9486690fea6 (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/7413 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Santosh Pradhan <spradhan@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 ea69956..dc86512 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);