asomers 440da718c9 Fix a use-after-free when "zpool import" fails
clear vd->vdev_tsd in vdev_geom_close_locked instead of vdev_geom_detach.
In the latter function, it would fail to happen in certain circumstances
where cp->private was unset.  Ideally, the latter should never happen, but
it can happen when vdev open fails, or where spares are involved.

MFC after:	4 weeks
X-MFC-With:	298786
Sponsored by:	Spectra Logic Corp
2016-04-29 21:29:37 +00:00
..
2016-04-28 09:40:24 +00:00
2016-04-29 20:31:49 +00:00
2016-04-29 21:05:48 +00:00
2016-04-29 20:22:10 +00:00
2016-04-27 19:09:21 +00:00
2016-04-27 20:24:48 +00:00
2016-04-29 20:53:39 +00:00
2016-04-29 20:51:24 +00:00
2016-04-20 14:29:03 +00:00
2016-04-29 21:11:31 +00:00
2016-04-27 19:09:21 +00:00
2016-04-27 19:38:24 +00:00
2016-04-29 20:33:20 +00:00
2016-04-29 16:07:25 +00:00
2016-04-24 15:56:05 +00:00
2016-04-29 20:12:45 +00:00
2016-04-29 20:43:51 +00:00