summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-09-04 12:48:55 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-05 06:27:18 -0700
commit461dc0ce08d1deb6a9314e118bb511894d5390c8 (patch)
tree8e75534a30737d2f8de4bb0c51c757182d6c7e62
parenta582adf732d976e46eaad9def18f55dbec4d8674 (diff)
protocol/server: set trans in frame->root
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1477 (server crash at afr_unlock_common_cbk) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1477
-rw-r--r--xlators/protocol/server/src/server-helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server-helpers.c b/xlators/protocol/server/src/server-helpers.c
index eab8f571d93..3415eb35cc3 100644
--- a/xlators/protocol/server/src/server-helpers.c
+++ b/xlators/protocol/server/src/server-helpers.c
@@ -803,6 +803,7 @@ get_frame_from_request (rpcsvc_request_t *req)
frame->root->uid = req->uid;
frame->root->gid = req->gid;
frame->root->pid = req->pid;
+ frame->root->trans = req->trans;
frame->root->lk_owner = req->lk_owner;
server_decode_groups (frame, req);