mirror_zfs/include/os/freebsd/zfs/sys
Chunwei Chen 768eacedef
zfs_enter rework
Replace ZFS_ENTER and ZFS_VERIFY_ZP, which have hidden returns, with
functions that return error code. The reason we want to do this is
because hidden returns are not obvious and had caused some missing fail
path unwinding.

This patch changes the common, linux, and freebsd parts. Also fixes
fail path unwinding in zfs_fsync, zpl_fsync, zpl_xattr_{list,get,set}, and
zfs_lookup().

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Chunwei Chen <david.chen@nutanix.com>
Closes #13831
2022-09-16 13:36:47 -07:00
..
freebsd_crypto.h module: icp: fold away all key formats except CRYPTO_KEY_RAW 2022-02-15 16:25:07 -08:00
freebsd_event.h FreeBSD: add knlist_init_sx() for exclusive locks 2022-09-06 09:48:57 -07:00
sha2.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
vdev_os.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_bootenv_os.h zfs label bootenv should store data as nvlist 2020-09-15 15:42:27 -07:00
zfs_context_os.h Cleanup: Use OpenSolaris functions to call scheduler 2022-09-12 09:55:37 -07:00
zfs_ctldir.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_dir.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_ioctl_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_vfsops_os.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zfs_vnops_os.h Share zfs_fsync, zfs_read, zfs_write, et al between Linux and FreeBSD 2020-10-21 14:08:06 -07:00
zfs_znode_impl.h zfs_enter rework 2022-09-16 13:36:47 -07:00
zpl.h Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00