freebsd-dev/sys/cddl/contrib/opensolaris
Steven Hartland 99140218aa Fix various issues with zvols
When performing snapshot renames we could deadlock due to the locking
in zvol_rename_minors. In order to avoid this use the same workaround
as zvol_open in zvol_rename_minors.

Add missing zvol_rename_minors to dsl_dataset_promote_sync.

Protect against invalid index into zv_name in zvol_remove_minors.

Replace zvol_remove_minor calls with zvol_remove_minors to ensure
any potential children are also renamed.

Don't fail zvol_create_minors if zvol_create_minor returns EEXIST.

Restore the valid pool check in zfs_ioc_destroy_snaps to ensure we
don't call zvol_remove_minors when zfs_unmount_snap fails.

PR:		193803
MFC after:	1 week
Sponsored by:	Multiplay
2014-10-03 14:49:48 +00:00
..
common Copy strtolctype.h to sys/cddl/contrib/opensolaris/common/util to keep 2014-07-31 08:07:23 +00:00
uts Fix various issues with zvols 2014-10-03 14:49:48 +00:00
OPENSOLARIS.LICENSE