summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/syncop.h1
-rw-r--r--xlators/protocol/server/src/server-helpers.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/syncop.h b/libglusterfs/src/syncop.h
index d07aed3d53b..cea52429f6f 100644
--- a/libglusterfs/src/syncop.h
+++ b/libglusterfs/src/syncop.h
@@ -331,6 +331,7 @@ syncop_create_frame(xlator_t *this)
if (!frame)
return NULL;
+ frame->root->type = GF_OP_TYPE_FOP;
opctx = syncopctx_getctx();
if (opctx && (opctx->valid & SYNCOPCTX_PID))
diff --git a/xlators/protocol/server/src/server-helpers.c b/xlators/protocol/server/src/server-helpers.c
index e346c5b22da..18dc7cb169d 100644
--- a/xlators/protocol/server/src/server-helpers.c
+++ b/xlators/protocol/server/src/server-helpers.c
@@ -310,6 +310,7 @@ do_fd_cleanup(xlator_t *this, client_t *client, fdentry_t *fdentries,
goto out;
}
+ tmp_frame->root->type = GF_OP_TYPE_FOP;
GF_ASSERT(fd->inode);
ret = inode_path(fd->inode, NULL, &path);
@@ -444,6 +445,7 @@ server_alloc_frame(rpcsvc_request_t *req)
if (!frame)
goto out;
+ frame->root->type = GF_OP_TYPE_FOP;
state = GF_CALLOC(1, sizeof(*state), gf_server_mt_state_t);
if (!state)
goto out;