| 286 | } |
| 287 | |
| 288 | static void |
| 289 | fini_raidz_map(zio_t **zio, raidz_map_t **rm) |
| 290 | { |
| 291 | vdev_raidz_map_free(*rm); |
| 292 | raidz_free((*zio)->io_abd, (*zio)->io_size); |
| 293 | umem_free(*zio, sizeof (zio_t)); |
| 294 | |
| 295 | *zio = NULL; |
| 296 | *rm = NULL; |
| 297 | } |
| 298 | |
| 299 | static int |
| 300 | init_raidz_golden_map(raidz_test_opts_t *opts, const int parity) |
no test coverage detected