Argh
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
while (since < osdmap->get_epoch()) {
epoch_t to = osdmap->get_epoch();
- if (to - since > g_conf->osd_map_message_max)
- to = since + (epoch_t)g_conf->osd_map_message_max;
+ if (to - since > (epoch_t)g_conf->osd_map_message_max)
+ to = since + g_conf->osd_map_message_max;
MOSDMap *m = build_incremental_map_msg(since, to);
Messenger *msgr = client_messenger;
if (entity_name_t::TYPE_OSD == inst.name._type)