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
..
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-08-02 16:45:30 -07:00
2022-05-10 10:18:51 -07:00
2022-09-08 10:32:30 -07:00
2022-05-25 09:18:49 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2021-06-07 09:02:47 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2017-07-07 11:28:01 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2019-06-19 09:48:12 -07:00
2022-06-24 13:55:58 -07:00
2022-07-20 17:14:06 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-28 15:52:46 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-09-07 17:04:15 -07:00
2022-07-11 14:16:13 -07:00
2022-06-29 14:08:59 -07:00
2022-08-22 17:42:01 -07:00
2022-09-02 13:31:19 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-09-02 13:33:50 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2016-10-03 14:51:15 -07:00
2022-07-11 14:16:13 -07:00
2020-11-02 22:01:10 +00:00
2017-10-11 16:54:48 -04:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2020-06-23 13:32:42 -07:00
2022-07-14 10:38:16 -07:00
2022-04-20 13:28:24 -07:00
2021-06-10 10:42:31 -06:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2019-06-19 09:48:12 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2016-10-03 14:51:15 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-28 15:52:46 -07:00
2022-07-11 14:16:13 -07:00
2022-07-28 15:52:46 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-09-08 10:30:53 -07:00
2018-04-14 12:16:17 -07:00
2018-04-14 12:16:17 -07:00
2022-07-11 14:16:13 -07:00
2022-09-06 09:43:21 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2019-06-13 13:12:39 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2018-02-08 15:28:18 -08:00
2022-07-11 14:16:13 -07:00
2018-02-08 15:28:18 -08:00
2020-02-14 13:41:42 -08:00
2022-06-29 14:08:59 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2020-09-15 15:42:27 -07:00
2022-07-11 14:16:13 -07:00
2022-09-12 09:55:37 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2018-03-04 17:34:51 -08:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-09-16 13:36:47 -07:00
2022-07-20 17:14:06 -07:00
2022-07-20 17:14:06 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-06-29 14:08:54 -07:00
2022-07-11 14:16:13 -07:00
2020-07-03 11:05:50 -07:00
2022-07-28 15:52:46 -07:00
2022-07-11 14:16:13 -07:00
2022-01-21 10:28:13 -08:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00