Files
mirror_zfs/include/sys
Rob Norris b109925820 spa_prop_get: require caller to supply output nvlist
All callers to spa_prop_get() and spa_prop_get_nvlist() supplied their
own preallocated nvlist (except ztest), so we can remove the option to
have them allocate one if none is supplied.

This sidesteps a bug in spa_prop_get(), where the error var wasn't
initialised, which could lead to the provided nvlist being freed at the
end.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16505
2024-09-06 08:45:58 -07:00
..
2024-05-31 15:13:39 -07:00
2024-02-08 09:19:52 -08:00
2024-09-04 14:17:02 -07:00
2022-05-10 10:18:51 -07:00
2021-06-07 09:02:47 -07:00
2023-01-10 13:39:22 -08:00
2024-07-29 14:48:12 -07:00
2024-09-04 14:17:02 -07:00
2024-09-04 14:17:02 -07:00
2023-10-24 11:00:07 -07:00
2023-03-14 15:25:50 -07:00
2023-05-09 09:03:10 -07:00
2024-08-16 12:03:35 -07:00
2024-08-16 12:02:39 -07:00
2017-10-11 16:54:48 -04:00
2023-09-01 18:00:30 -07:00
2024-04-09 16:23:19 -07:00
2019-06-19 09:48:12 -07:00
2022-07-11 14:16:13 -07:00
2024-05-31 15:13:30 -07:00
2024-05-31 15:13:16 -07:00
2024-09-04 14:17:02 -07:00
2023-11-08 10:19:41 -08:00
2023-11-08 10:19:41 -08:00
2018-02-08 15:28:18 -08:00
2024-04-22 09:42:38 -07:00
2022-06-29 14:08:54 -07:00
2023-01-05 09:31:55 -08:00