mirror_zfs/include/os/linux
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
..
kernel/linux Add xattr_handler support for Android kernels 2022-09-06 10:02:18 -07:00
spl Cleanup: Make memory barrier definitions consistent across kernels 2022-09-13 16:59:33 -07:00
zfs/sys zfs_enter rework 2022-09-16 13:36:47 -07:00
Makefile.am autoconf: single-step includes 2022-05-10 10:18:51 -07:00