Merge commit 'refs/top-bases/linux-zfs-branch' into linux-zfs-branch
This commit is contained in:
commit
2980a819e7
|
@ -1135,8 +1135,7 @@ zfs_ioc_pool_destroy(struct file *filp, zfs_cmd_t *zc)
|
||||||
{
|
{
|
||||||
int error;
|
int error;
|
||||||
zfs_log_history(zc);
|
zfs_log_history(zc);
|
||||||
error = zvol_remove_minors(zc->zc_name);
|
(void) zvol_remove_minors(zc->zc_name);
|
||||||
if (error == 0)
|
|
||||||
error = spa_destroy(zc->zc_name);
|
error = spa_destroy(zc->zc_name);
|
||||||
return (error);
|
return (error);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue