-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Fix typos #11774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix typos #11774
Conversation
Signed-off-by: Andrea Gelmini <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing all of these!
@@ -1008,7 +1008,7 @@ avl_destroy_nodes(avl_tree_t *tree, void **cookie) | |||
--tree->avl_numnodes; | |||
|
|||
/* | |||
* If we just did a right child or there isn't one, go up to parent. | |||
* If we just made a right child or there isn't one, go up to parent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we are "making" any nodes here; "did" seems ok to me, or we could change it to "removed"
@@ -21273,7 +21273,7 @@ ZSTD_initStats_ultra(ZSTD_matchState_t* ms, | |||
ms->window.lowLimit = ms->window.dictLimit; | |||
ms->nextToUpdate = ms->window.dictLimit; | |||
|
|||
/* re-inforce weight of collected statistics */ | |||
/* re-enforce weight of collected statistics */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one isn't clear to me which way it should be... are we "enforcing" some sort of rule? or are we "reinforcing" (supplementing, increasing) the weight? Maybe better to chose a different word altogether.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should prefer making any changes to zstd.c and zstd.h through upstream.
@@ -44,7 +44,7 @@ function cleanup | |||
rm -f ${VDEV_FILES[@]} | |||
} | |||
|
|||
log_assert "Verify attach/detech with multiple vdevs" | |||
log_assert "Verify attach/detect with multiple vdevs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log_assert "Verify attach/detect with multiple vdevs" | |
log_assert "Verify attach/detach with multiple vdevs" |
@@ -108,4 +108,4 @@ for replace_mode in "healing" "sequential"; do | |||
log_must zpool wait $TESTPOOL1 | |||
done | |||
|
|||
log_pass "Verify attach/detech with multiple vdevs" | |||
log_pass "Verify attach/detect with multiple vdevs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log_pass "Verify attach/detect with multiple vdevs" | |
log_pass "Verify attach/detach with multiple vdevs" |
Merged after making the suggested corrections from the review comments and dropping the changes to the upstream zstd code. |
Really thanks a lot. Crazy days for me, so I was late! |
Correct an assortment of typos throughout the code base. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Matthew Ahrens <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Andrea Gelmini <[email protected]> Closes #11774
Correct an assortment of typos throughout the code base. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Matthew Ahrens <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Andrea Gelmini <[email protected]> Closes openzfs#11774
Correct an assortment of typos throughout the code base. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Matthew Ahrens <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Andrea Gelmini <[email protected]> Closes openzfs#11774
Thanks a lot for your work.
This is just a stupid patch to fix assorted typos all around.
It passed the usual "make -j && make checkstyle && make lint"