s/dettach/detach/g
Approved by: pjd MFC after: 1 month
This commit is contained in:
parent
650e245ebf
commit
7f24254add
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user