From: Sage Weil Date: Fri, 14 Jul 2017 19:36:57 +0000 (-0400) Subject: crush/CrushWrapper: remove_item_under whitespace X-Git-Tag: v12.1.2~150^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b69d8bf3639fcb89ff542c800775e46a67a56210;p=ceph.git crush/CrushWrapper: remove_item_under whitespace Signed-off-by: Sage Weil --- diff --git a/src/crush/CrushWrapper.cc b/src/crush/CrushWrapper.cc index 248decc265f6..66bffe0b0123 100644 --- a/src/crush/CrushWrapper.cc +++ b/src/crush/CrushWrapper.cc @@ -496,7 +496,8 @@ bool CrushWrapper::_bucket_is_in_use(int item) return false; } -int CrushWrapper::_remove_item_under(CephContext *cct, int item, int ancestor, bool unlink_only) +int CrushWrapper::_remove_item_under( + CephContext *cct, int item, int ancestor, bool unlink_only) { ldout(cct, 5) << "_remove_item_under " << item << " under " << ancestor << (unlink_only ? " unlink_only":"") << dendl; @@ -514,7 +515,8 @@ int CrushWrapper::_remove_item_under(CephContext *cct, int item, int ancestor, b for (unsigned i=0; isize; ++i) { int id = b->items[i]; if (id == item) { - ldout(cct, 5) << "_remove_item_under removing item " << item << " from bucket " << b->id << dendl; + ldout(cct, 5) << "_remove_item_under removing item " << item + << " from bucket " << b->id << dendl; bucket_remove_item(b, item); adjust_item_weight(cct, b->id, b->weight); ret = 0; @@ -527,7 +529,8 @@ int CrushWrapper::_remove_item_under(CephContext *cct, int item, int ancestor, b return ret; } -int CrushWrapper::remove_item_under(CephContext *cct, int item, int ancestor, bool unlink_only) +int CrushWrapper::remove_item_under( + CephContext *cct, int item, int ancestor, bool unlink_only) { ldout(cct, 5) << "remove_item_under " << item << " under " << ancestor << (unlink_only ? " unlink_only":"") << dendl;