From 3deb7b6177bfe3f75f8fbd3537a642cd43b3dc8a Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Mon, 22 Jun 2015 20:59:14 +0200 Subject: [PATCH] Objecter.cc: fix name of _take_op_budget() function in comment 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 --- src/osdc/Objecter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc index f82f6c7d064ae..e32d7c90171df 100644 --- a/src/osdc/Objecter.cc +++ b/src/osdc/Objecter.cc @@ -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 -- 2.39.5