summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/client/src/client-helpers.c')
-rw-r--r--xlators/protocol/client/src/client-helpers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client-helpers.c b/xlators/protocol/client/src/client-helpers.c
index 351a10be6e6..4bdb364a9a3 100644
--- a/xlators/protocol/client/src/client-helpers.c
+++ b/xlators/protocol/client/src/client-helpers.c
@@ -1795,6 +1795,8 @@ clnt_unserialize_rsp_locklist (xlator_t *this, struct gfs3_getactivelk_rsp *rsp,
gf_proto_flock_to_flock (&trav->flock, &temp->flock);
+ temp->lk_flags = trav->lk_flags;
+
temp->client_uid = gf_strdup (trav->client_uid);
list_add_tail (&temp->list, &lmi->list);
@@ -1861,6 +1863,8 @@ serialize_req_locklist (lock_migration_info_t *locklist,
gf_proto_flock_from_flock (&trav->flock, &tmp->flock);
+ trav->lk_flags = tmp->lk_flags;
+
trav->client_uid = gf_strdup (tmp->client_uid);
if (!trav->client_uid) {
gf_msg (THIS->name, GF_LOG_ERROR, 0, 0,