zfs: create devices/geoms from zvols after receiveing them
PR: kern/167066 Tested by: Andreas Nilsson <andrnils@gmail.com> MFC after: 13 days
This commit is contained in:
parent
6e908c6abc
commit
c4f59a3c09
@ -3836,6 +3836,12 @@ zfs_ioc_recv(zfs_cmd_t *zc)
|
||||
error = 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
if (error == 0)
|
||||
zvol_create_minors(tofs);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* On error, restore the original props.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user