Skip to content
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 test, and kstat bug #22

Merged
merged 2 commits into from
Aug 19, 2020

Conversation

allanjude
Copy link

No description provided.

When we check that the error from a compression attempt is not
ZSTD_error_dstSize_tooSmall, we need to first use ZSTD_getErrorCode()
to turn the value into the correct enum, rather than a negative value.

Not sure how this got lost earlier. I think maybe in the sidetracked
kmem conversion.

Sponsored-by: The FreeBSD Foundation
Signed-off-by: Allan Jude <allanjude@freebsd.org>
Sponsored-by: The FreeBSD Foundation
Signed-off-by: Allan Jude <allanjude@freebsd.org>
@c0d3z3r0 c0d3z3r0 merged commit 3136de0 into c0d3z3r0:for-upstream/zstd Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants