Skip to content

Commit

Permalink
crush: correct typo
Browse files Browse the repository at this point in the history
Signed-off-by: Changcheng Liu <[email protected]>
  • Loading branch information
changchengx committed Sep 6, 2020
1 parent 51ae290 commit b422be8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/crush/CrushWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ class CrushWrapper {
/**
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/crush/crush.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit b422be8

Please sign in to comment.