Required build 121 updates for linux-have-zvol

This commit is contained in:
Brian Behlendorf 2009-08-18 14:11:29 -07:00
parent b3561355b8
commit 4de2019bdd
1 changed files with 2 additions and 0 deletions

View File

@ -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);