config: refuse to build without fs_context

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@truenas.com>
Closes #18339
This commit is contained in:
Rob Norris
2026-03-15 12:30:46 +11:00
committed by Tony Hutter
parent 59185c5691
commit bec56a4c10
+3
View File
@@ -29,5 +29,8 @@ AC_DEFUN([ZFS_AC_KERNEL_FS_CONTEXT], [
AC_DEFINE(HAVE_FS_CONTEXT, 1, [fs_context exists])
],[
AC_MSG_RESULT(no)
AC_MSG_ERROR([
*** This kernel does not have `struct fs_context`. OpenZFS cannot be compiled.
])
])
])