Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the build on FreeBSD 12 #15551

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Fix the build on FreeBSD 12 #15551

merged 1 commit into from
Nov 27, 2023

Commits on Nov 21, 2023

  1. 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 9d08874
      assumed 13.0 or later.
    * FreeBSD 13.0 added copy_file_range, and OpenZFS change 67a1b03
      assumed 13.0 or later.
    
    Sponsored-by:	Axcient
    Signed-off-by:	Alan Somers <[email protected]>
    asomers committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    b7ae0d7 View commit details
    Browse the repository at this point in the history