From: Timothy Day Date: Thu, 17 Apr 2025 15:58:29 +0000 (+0000) Subject: LU-18515 build: fix configure checks for ZFS 2.2.3 X-Git-Tag: 2.16.55~80 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d33e96cdd472f76d56f0e543cb1b3afb07785e54;p=fs%2Flustre-release.git LU-18515 build: fix configure checks for ZFS 2.2.3 These config checks were missing certain headers. Thus, the checks failed which caused the build to also fail when trying to compile against ZFS 2.3.0+. Fixes: a13fc434c57f ("LU-17662 osd-zfs: Support for ZFS 2.2.3") Test-Parameters: trivial Signed-off-by: Timothy Day Change-Id: I8e231f0c4581f435cb4209c767fc4727cb6cbfa0 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57452 Tested-by: jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Shaun Tancheff Reviewed-by: Jian Yu Reviewed-by: Akash B Reviewed-by: Oleg Drokin --- diff --git a/config/lustre-build-linux.m4 b/config/lustre-build-linux.m4 index 8666973..a85c9c5 100644 --- a/config/lustre-build-linux.m4 +++ b/config/lustre-build-linux.m4 @@ -879,6 +879,10 @@ ifneq (\$(SINC),) LINUXINCLUDE += -I\$(SINC) else LINUXINCLUDE += -I\$(ZINC)/include/spl +LINUXINCLUDE += -I\$(ZINC)/include/zfs +LINUXINCLUDE += -I\$(ZINC)/include/os/linux/spl +LINUXINCLUDE += -I\$(ZINC)/include/os/linux/zfs +LINUXINCLUDE += -I\$(ZINC)/include/os/linux/kernel endif endif LINUXINCLUDE += -include $CONFIG_INCLUDE