Create zvol devices on zfs clone.
While big and shiny patch is not ready, it is better to have something. PR: kern/178999 MFC after: 1 week
This commit is contained in:
parent
67eb1bdac2
commit
f6e1dc83c3
@ -3352,6 +3352,10 @@ zfs_ioc_clone(const char *fsname, nvlist_t *innvl, nvlist_t *outnvl)
|
||||
if (error != 0)
|
||||
(void) dsl_destroy_head(fsname);
|
||||
}
|
||||
#ifdef __FreeBSD__
|
||||
if (error == 0)
|
||||
zvol_create_minors(fsname);
|
||||
#endif
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user