summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/server-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/server/src/server-helpers.c')
-rw-r--r--xlators/protocol/server/src/server-helpers.c2
1 files changed, 2 insertions, 0 deletions
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;