From: Nathan Cutler Date: Mon, 22 Jun 2015 18:59:14 +0000 (+0200) Subject: Objecter.cc: fix name of _take_op_budget() function in comment X-Git-Tag: v9.1.0~348^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3deb7b6177bfe3f75f8fbd3537a642cd43b3dc8a;p=ceph.git 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 --- diff --git a/src/osdc/Objecter.cc b/src/osdc/Objecter.cc index f82f6c7d064a..e32d7c90171d 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