Skip to content

Commit

Permalink
spa.c: Replace VERIFY(nvlist_*(...) == 0) with fnvlist_* (openzfs#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 amotin committed Jul 20, 2022
1 parent c3f7080 commit b36dae6
Showing 1 changed file with 129 additions and 156 deletions.
Loading

0 comments on commit b36dae6

Please sign in to comment.