Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Required-githooks: true

Signed-off-by: Alexander A Oganezov <alexander.a.oganezov@intel.com>
  • Loading branch information
frostedcmos committed Dec 11, 2023
1 parent c6820ce commit d8fc6c9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/cart/crt_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -1413,11 +1413,10 @@ crt_context_req_untrack(struct crt_rpc_priv *rpc_priv)
struct crt_rpc_priv, crp_waitq_link);
D_MUTEX_UNLOCK(&crt_ctx->cc_mutex);

if (tmp_rpc != NULL) {
if (tmp_rpc != NULL)
dispatch_rpc(tmp_rpc);
} else {
else
crt_context_put_quota_resource(rpc_priv->crp_pub.cr_ctx, CRT_QUOTA_RPCS);
}

crt_context_req_untrack_internal(rpc_priv);

Expand Down Expand Up @@ -1469,7 +1468,7 @@ crt_context_req_untrack(struct crt_rpc_priv *rpc_priv)

/* re-submit the rpc req */
while ((tmp_rpc = d_list_pop_entry(&submit_list, struct crt_rpc_priv, crp_tmp_link)))
dispatch_rpc(tmp_rpc, false);
dispatch_rpc(tmp_rpc);
}

/* TODO: Need per-provider call */
Expand Down

0 comments on commit d8fc6c9

Please sign in to comment.