abd_os: move headers from libzpool to libspl #17394
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[Sponsors: Klara, Inc., Wasabi Technology, Inc.]
Motivation and Context
5b9e695 added specific userspace versions of
abd_os.h
andabd_impl_os.h
for libzpool. However,abd.h
andabd_impl.h
, which include them, are packaged withlibzfs
, so other programs building againstlibzfs
can fail to build, either because the headers aren't installed, or because they aren't on any standard include path.Description
Move
abd_os.h
andabd_impl_os.h
tolibspl
, where they we will be installed alongsideabd.h
andabd_impl.h
in a known path.Fixes #16940
Fixes #17390
How Has This Been Tested?
Installation and package building.
Before:
After:
Types of changes
Checklist:
Signed-off-by
.