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 <timday@amazon.com>
Change-Id: I8e231f0c4581f435cb4209c767fc4727cb6cbfa0
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57452
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Akash B <akash-b@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
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