Add missing zvol_create_mirrors() on zfs_ioc_create()
This commit is contained in:
parent
09f7f9e4ff
commit
3a10a36ee8
@ -3268,6 +3268,10 @@ zfs_ioc_create(const char *fsname, nvlist_t *innvl, nvlist_t *outnvl)
|
||||
if (error != 0)
|
||||
(void) dmu_objset_destroy(fsname, B_FALSE);
|
||||
}
|
||||
#ifdef __FreeBSD__
|
||||
if (error == 0 && type == DMU_OST_ZVOL)
|
||||
zvol_create_minors(fsname);
|
||||
#endif
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user