]> git.proxmox.com Git - mirror_zfs.git/commit
spa.c: Replace VERIFY(nvlist_*(...) == 0) with fnvlist_* (#12678)
authorAllan Jude <allan@klarasystems.com>
Tue, 26 Oct 2021 23:15:38 +0000 (19:15 -0400)
committerGitHub <noreply@github.com>
Tue, 26 Oct 2021 23:15:38 +0000 (17:15 -0600)
commit65ad5d1165df04be94f623c7e271b95ac2d520b4
treeecbf8f72c0f3115931fa53287a29935804c147e5
parent90b77a0364a44ec568aa984558dea9901867653d
spa.c: Replace VERIFY(nvlist_*(...) == 0) with fnvlist_* (#12678)

The fnvlist versions of the functions are fatal if they fail,
saving each call from having to include checking the result.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Signed-off-by: Allan Jude <allan@klarasystems.com>
module/zfs/spa.c