summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/protocol.h2
-rw-r--r--libglusterfs/src/stack.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h
index 450e38731c2..3b5b3087f9f 100644
--- a/libglusterfs/src/protocol.h
+++ b/libglusterfs/src/protocol.h
@@ -977,6 +977,8 @@ typedef struct {
* in gid.
*/
uint32_t groups[GF_REQUEST_MAXGROUPS];
+
+ uint64_t lk_owner;
} __attribute__ ((packed)) gf_hdr_req_t;
diff --git a/libglusterfs/src/stack.h b/libglusterfs/src/stack.h
index 722651a4c9d..cad7f79bec2 100644
--- a/libglusterfs/src/stack.h
+++ b/libglusterfs/src/stack.h
@@ -266,6 +266,7 @@ copy_frame (call_frame_t *frame)
newstack->frames.this = frame->this;
newstack->frames.root = newstack;
newstack->pool = oldstack->pool;
+ newstack->lk_owner = oldstack->lk_owner;
LOCK_INIT (&newstack->frames.lock);