Home
last modified time | relevance | path

Searched hist:d59a76183470685bdf0b88013d2baad1f04f030f (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.cdiff d59a76183470685bdf0b88013d2baad1f04f030f Wed Sep 04 04:09:43 CEST 2024 Rob Norris <rob.norris@klarasystems.com> 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.
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
(cherry picked from commit 366d6fecf6bb3c59668b0f3b89f2a610595f3d2f)
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_ioctl.cdiff d59a76183470685bdf0b88013d2baad1f04f030f Wed Sep 04 04:09:43 CEST 2024 Rob Norris <rob.norris@klarasystems.com> 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.
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
(cherry picked from commit 366d6fecf6bb3c59668b0f3b89f2a610595f3d2f)
H A Dspa.cdiff d59a76183470685bdf0b88013d2baad1f04f030f Wed Sep 04 04:09:43 CEST 2024 Rob Norris <rob.norris@klarasystems.com> 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.
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
(cherry picked from commit 366d6fecf6bb3c59668b0f3b89f2a610595f3d2f)
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa.hdiff d59a76183470685bdf0b88013d2baad1f04f030f Wed Sep 04 04:09:43 CEST 2024 Rob Norris <rob.norris@klarasystems.com> 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.
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
(cherry picked from commit 366d6fecf6bb3c59668b0f3b89f2a610595f3d2f)