mirror_zfs/include/os/freebsd
Alan Somers 126efb5889
FreeBSD: Fix the build on FreeBSD 12
It was broken for several reasons:
* VOP_UNLOCK lost an argument in 13.0.  So OpenZFS should be using
  VOP_UNLOCK1, but a few direct calls to VOP_UNLOCK snuck in.
* The location of the zlib header moved in 13.0 and 12.1.  We can drop
  support for building on 12.0, which is EoL.
* knlist_init lost an argument in 13.0.  OpenZFS change 9d0887402b
  assumed 13.0 or later.
* FreeBSD 13.0 added copy_file_range, and OpenZFS change 67a1b03791
  assumed 13.0 or later.

Sponsored-by: Axcient
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Alan Somers <asomers@gmail.com>
Closes #15551
2023-11-27 12:58:03 -08:00
..
linux Cleanup: Make memory barrier definitions consistent across kernels 2022-09-13 16:59:33 -07:00
spl FreeBSD: Fix the build on FreeBSD 12 2023-11-27 12:58:03 -08:00
zfs/sys Add a tunable to disable BRT support. 2023-11-16 11:35:22 -08:00
Makefile.am Add SHA2 SIMD feature tests for FreeBSD 2023-03-02 13:51:56 -08:00