From: Changcheng Liu Date: Wed, 26 Aug 2020 01:48:51 +0000 (+0800) Subject: crush: correct typo X-Git-Tag: wip-pdonnell-testing-20200918.022351~110^2~8 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b422be8191a52bbd96292ca3078cf1cf46c12014;p=ceph-ci.git crush: correct typo Signed-off-by: Changcheng Liu --- diff --git a/src/crush/CrushWrapper.h b/src/crush/CrushWrapper.h index ed4a90addc4..b7bad6f45f3 100644 --- a/src/crush/CrushWrapper.h +++ b/src/crush/CrushWrapper.h @@ -787,7 +787,7 @@ public: /** * insert an item into the map at a specific position * - * Add an item as a specific location of the hierarchy. + * Add an item at a specific location of the hierarchy. * Specifically, we look for the most specific location constraint * for which a bucket already exists, and then create intervening * buckets beneath that in order to place the item. diff --git a/src/crush/crush.h b/src/crush/crush.h index 83ef88a6b76..747601467ce 100644 --- a/src/crush/crush.h +++ b/src/crush/crush.h @@ -335,7 +335,7 @@ struct crush_bucket_straw { * __h.alg__ == ::CRUSH_BUCKET_STRAW2. * * The weight of __h.items[i]__ is __item_weights[i]__ for i in - * [0,__h.size__[. + * [0,__h.size__]. */ struct crush_bucket_straw2 { struct crush_bucket h; /*!< generic bucket information */