asomers ccca204851 Refactor vdev_geom_attach and friends to reduce code duplication
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
	Move checks for provider's sectorsize and mediasize into a single
	location in vdev_geom_attach. Remove the zfs::vdev::taste class;
	it's ok to use the regular vdev class for tasting. Consolidate guid
	checks into a single location in vdev_attach_ok. Consolidate some
	error handling code from vdev_geom_attach into vdev_geom_detach,
	closing a resource leak of geom consumers in the process.

Reviewed by:	avg
MFC after:	4 weeks
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D5974
2016-04-29 15:23:51 +00:00
..
2016-04-28 09:40:24 +00:00
2016-04-28 15:18:28 +00:00
2016-04-27 19:09:21 +00:00
2016-04-27 20:24:48 +00:00
2016-04-28 19:26:46 +00:00
2016-04-20 14:29:03 +00:00
2016-04-27 19:09:21 +00:00
2016-04-27 19:38:24 +00:00
2016-04-28 20:30:49 +00:00
2016-04-24 15:56:05 +00:00
2016-04-27 21:51:24 +00:00