s/dettach/detach/g

Approved by:	pjd
MFC after:	1 month
This commit is contained in:
Xin LI 2012-10-30 01:29:45 +00:00
parent 650e245ebf
commit 7f24254add
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242332

View File

@ -332,7 +332,7 @@ vdev_geom_attach_taster(struct g_consumer *cp, struct g_provider *pp)
}
static void
vdev_geom_dettach_taster(struct g_consumer *cp)
vdev_geom_detach_taster(struct g_consumer *cp)
{
g_access(cp, -1, 0, 0);
g_detach(cp);
@ -373,7 +373,7 @@ vdev_geom_read_pool_label(const char *name, nvlist_t **config)
g_topology_unlock();
error = vdev_geom_read_config(zcp, &vdev_cfg);
g_topology_lock();
vdev_geom_dettach_taster(zcp);
vdev_geom_detach_taster(zcp);
if (error)
continue;
ZFS_LOG(1, "successfully read vdev config");
@ -442,7 +442,7 @@ vdev_geom_attach_by_guid(uint64_t guid)
g_topology_unlock();
pguid = vdev_geom_read_guid(zcp);
g_topology_lock();
vdev_geom_dettach_taster(zcp);
vdev_geom_detach_taster(zcp);
if (pguid != guid)
continue;
cp = vdev_geom_attach(pp);