From b69d8bf3639fcb89ff542c800775e46a67a56210 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 14 Jul 2017 15:36:57 -0400 Subject: [PATCH] crush/CrushWrapper: remove_item_under whitespace Signed-off-by: Sage Weil --- src/crush/CrushWrapper.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/crush/CrushWrapper.cc b/src/crush/CrushWrapper.cc index 248decc265f6e..66bffe0b01235 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; -- 2.39.5