From: Greg Farnum Date: Thu, 25 Feb 2010 18:46:36 +0000 (-0800) Subject: authmon: reminder --> remainder, for less confusion! X-Git-Tag: v0.20~398 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a2295f70133c8164ef7022bd2b739ef8ac7e3c02;p=ceph.git authmon: reminder --> remainder, for less confusion! --- diff --git a/src/mon/AuthMonitor.cc b/src/mon/AuthMonitor.cc index ea82f70c95e9..df61350456b2 100644 --- a/src/mon/AuthMonitor.cc +++ b/src/mon/AuthMonitor.cc @@ -319,10 +319,10 @@ uint64_t AuthMonitor::assign_global_id(MAuth *m, bool should_increase_max) uint64_t next_global_id = last_allocated_id + 1; if (next_global_id < max_global_id) { - int reminder = next_global_id % total_mon; - if (reminder) - reminder = total_mon - reminder; - next_global_id += reminder + mon->whoami; + int remainder = next_global_id % total_mon; + if (remainder) + remainder = total_mon - remainder; + next_global_id += remainder + mon->whoami; dout(10) << "next_global_id should be " << next_global_id << dendl; }