summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/future.cpp
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2016-10-28 18:20:14 +0000
committermav <mav@FreeBSD.org>2016-10-28 18:20:14 +0000
commitd85916f780badddcded9eb4b29c6e1d242d9884c (patch)
treefeb60bf371f4c2b7021b11d6a58bec3a46989c60 /contrib/libc++/src/future.cpp
parentc8c4c6244daef57c7b854dfe5de8a10d8675634b (diff)
downloadFreeBSD-src-d85916f780badddcded9eb4b29c6e1d242d9884c.zip
FreeBSD-src-d85916f780badddcded9eb4b29c6e1d242d9884c.tar.gz
MFC r298786 (by asomers):
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.
Diffstat (limited to 'contrib/libc++/src/future.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud