Skip to content

Commit

Permalink
spa.c: Replace VERIFY(nvlist_*(...) == 0) with fnvlist_* (#12678)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
allanjude authored and behlendorf committed Jul 26, 2022
1 parent 415882d commit 72a4709
Showing 1 changed file with 129 additions and 156 deletions.
Loading

0 comments on commit 72a4709

Please sign in to comment.