HomeFreeBSD

Add zpool_nextboot, move zfs_jail to libzfs.h

Description

Add zpool_nextboot, move zfs_jail to libzfs.h

FreeBSD has a zfsbootcfg command that wants zpool_nextboot in libzfs.

Add the function to FreeBSD's libzfs_compat.c, and while here move
the prototype for zfs_jail out of param.h in FreeBSD's SPL and into
libzfs.h under an ifdef for FreeBSD, where the prototype for
zpool_nextboot joins it.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10524

Details

Provenance
freqlabsAuthored on Jul 6 2020, 6:57 PM
GitHub <noreply@github.com>Committed on Jul 6 2020, 6:57 PM
Parents
rGcd32b4f5b79c: Fix a deadlock in the FreeBSD getpages VOP
Branches
Unknown
Tags
Unknown