]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Objecter.cc: fix name of _take_op_budget() function in comment 5048/head
authorNathan Cutler <ncutler@suse.com>
Mon, 22 Jun 2015 18:59:14 +0000 (20:59 +0200)
committerNathan Cutler <ncutler@suse.com>
Mon, 22 Jun 2015 18:59:14 +0000 (20:59 +0200)
The function name used to be take_op_budget() until an underscore
was prepended. Change the reference in the comment to match the actual
function name.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/osdc/Objecter.cc

index f82f6c7d064ae2da60e95b3e5b1f9902d4b3b11c..e32d7c90171df212e7018ecdcebc4fa748cf1742 100644 (file)
@@ -2007,7 +2007,7 @@ ceph_tid_t Objecter::_op_submit_with_budget(Op *op, RWLock::Context& lc, int *ct
   assert(op->ops.size() == op->out_handler.size());
 
   // throttle.  before we look at any state, because
-  // take_op_budget() may drop our lock while it blocks.
+  // _take_op_budget() may drop our lock while it blocks.
   if (!op->ctx_budgeted || (ctx_budget && (*ctx_budget == -1))) {
     int op_budget = _take_op_budget(op);
     // take and pass out the budget for the first OP