Required build 121 updates for linux-have-zvol
This commit is contained in:
parent
b3561355b8
commit
4de2019bdd
|
@ -973,8 +973,10 @@ dsl_dataset_zvol_cleanup(dsl_dataset_t *ds, const char *name)
|
|||
if (error)
|
||||
return (error);
|
||||
|
||||
#ifdef HAVE_ZVOL
|
||||
if (dmu_objset_type(os) == DMU_OST_ZVOL)
|
||||
error = zvol_remove_minor(name);
|
||||
#endif /* HAVE_ZVOL */
|
||||
dmu_objset_close(os);
|
||||
|
||||
return (error);
|
||||
|
|
Loading…
Reference in New Issue