Revert unneeded ztest_resume() prototype changes to match upstream.
This commit is contained in:
parent
c0ce3b40f2
commit
0ebcbe2e74
|
@ -3787,18 +3787,15 @@ ztest_spa_import_export(char *oldname, char *newname)
|
||||||
nvlist_free(config);
|
nvlist_free(config);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *
|
static void
|
||||||
ztest_resume(void *arg)
|
ztest_resume(spa_t *spa)
|
||||||
{
|
{
|
||||||
spa_t *spa = arg;
|
|
||||||
|
|
||||||
if (spa_suspended(spa)) {
|
if (spa_suspended(spa)) {
|
||||||
spa_vdev_state_enter(spa);
|
spa_vdev_state_enter(spa);
|
||||||
vdev_clear(spa, NULL);
|
vdev_clear(spa, NULL);
|
||||||
(void) spa_vdev_state_exit(spa, NULL, 0);
|
(void) spa_vdev_state_exit(spa, NULL, 0);
|
||||||
(void) zio_resume(spa);
|
(void) zio_resume(spa);
|
||||||
}
|
}
|
||||||
return (NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *
|
static void *
|
||||||
|
|
Loading…
Reference in New Issue