Skip to content

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

Closed
wants to merge 1 commit into from
Closed

Fix typos #11774

wants to merge 1 commit into from

Conversation

Gelma
Copy link
Contributor

@Gelma Gelma commented Mar 20, 2021

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"

Signed-off-by: Andrea Gelmini <[email protected]>
Copy link
Member

@ahrens ahrens left a 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.
Copy link
Member

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 */
Copy link
Member

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.

Copy link

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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
log_pass "Verify attach/detect with multiple vdevs"
log_pass "Verify attach/detach with multiple vdevs"

@behlendorf behlendorf added the Status: Code Review Needed Ready for review and testing label Mar 24, 2021
@behlendorf behlendorf closed this in bf169e9 Apr 3, 2021
@behlendorf
Copy link
Contributor

behlendorf commented Apr 3, 2021

Merged after making the suggested corrections from the review comments and dropping the changes to the upstream zstd code.

@behlendorf behlendorf added Status: Accepted Ready to integrate (reviewed, tested) and removed Status: Code Review Needed Ready for review and testing labels Apr 3, 2021
@Gelma
Copy link
Contributor Author

Gelma commented Apr 3, 2021

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!

@Gelma Gelma deleted the typo_2021 branch April 3, 2021 16:25
behlendorf pushed a commit that referenced this pull request Apr 7, 2021
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
adamdmoss pushed a commit to adamdmoss/zfs that referenced this pull request Apr 10, 2021
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
sempervictus pushed a commit to sempervictus/zfs that referenced this pull request May 31, 2021
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted Ready to integrate (reviewed, tested)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants