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:
Andriy Gapon 2012-11-24 13:07:31 +00:00
parent 6e908c6abc
commit c4f59a3c09

View File

@ -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.
*/