Skip to content

config: fix ZFS_LINUX_TEST_RESULT_SYMBOL with --enable-linux-builtin #17236

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

Merged
merged 1 commit into from
Apr 11, 2025

Conversation

robn
Copy link
Member

@robn robn commented Apr 11, 2025

Motivation and Context

#17106 broke compiling with --enable-linux-builtin.

Fixes #17212.

Description

A typo in ZFS_LINUX_TEST_RESULT_SYMBOL made it always return "no" when setting up for an in-kernel build, so configure ended up failing in.

Just fix the typo, oosh.

How Has This Been Tested?

Tested locally with all combinations of --enable-linux-builtin and --config-cache.

#17212 reports success also.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

The tiniest typo in dd2a46b (openzfs#17106) broke it, by setting the wrong
var with the test var, resulting in it always producing "no".

Sponsored-by: https://despairlabs.com/sponsor/
Signed-off-by: Rob Norris <[email protected]>
@amotin amotin added the Status: Accepted Ready to integrate (reviewed, tested) label Apr 11, 2025
@amotin amotin merged commit 5ab6017 into openzfs:master Apr 11, 2025
20 of 23 checks passed
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Apr 15, 2025
The tiniest typo in dd2a46b (openzfs#17106) broke it, by setting the wrong
var with the test var, resulting in it always producing "no".

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Alexander Motin <[email protected]>
Reviewed by: Attila Fülöp <[email protected]>
Signed-off-by: Rob Norris <[email protected]>
Closes openzfs#17236
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Apr 16, 2025
The tiniest typo in dd2a46b (openzfs#17106) broke it, by setting the wrong
var with the test var, resulting in it always producing "no".

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Alexander Motin <[email protected]>
Reviewed by: Attila Fülöp <[email protected]>
Signed-off-by: Rob Norris <[email protected]>
Closes openzfs#17236
snajpa pushed a commit to vpsfreecz/zfs that referenced this pull request May 2, 2025
The tiniest typo in dd2a46b (openzfs#17106) broke it, by setting the wrong
var with the test var, resulting in it always producing "no".

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Alexander Motin <[email protected]>
Reviewed by: Attila Fülöp <[email protected]>
Signed-off-by: Rob Norris <[email protected]>
Closes openzfs#17236
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.

Error when configure --enable-linux-builtin
3 participants