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 Oct 26, 2021
1 parent 90b77a0 commit 65ad5d1
Showing 1 changed file with 129 additions and 156 deletions.
Loading

0 comments on commit 65ad5d1

Please sign in to comment.