Commit d86f1850 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Clarify the comment

This is the intent that was not obvious to me when I first reviewed this
change.
parent 429835da
......@@ -778,8 +778,8 @@ HSH_Cancel(struct worker *wrk, struct objcore *oc, struct boc *boc)
return;
/*
* the caller-provided boc is optional, if they do not have one, we grab
* a ref
* NB: we use two distinct variables to only release the reference if
* we had to acquire one. The caller-provided boc is optional.
*/
if (boc == NULL)
bocref = boc = HSH_RefBoc(oc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment