svn commit: r243813 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Xin LI delphij at FreeBSD.org
Mon Dec 3 18:12:55 UTC 2012


Author: delphij
Date: Mon Dec  3 18:12:54 2012
New Revision: 243813
URL: http://svnweb.freebsd.org/changeset/base/243813

Log:
  MFC r242332:
  
  s/dettach/detach/g
  
  Approved by:	pjd

Modified:
  stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
==============================================================================
--- stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c	Mon Dec  3 18:10:30 2012	(r243812)
+++ stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c	Mon Dec  3 18:12:54 2012	(r243813)
@@ -329,7 +329,7 @@ vdev_geom_attach_taster(struct g_consume
 }
 
 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);
@@ -370,7 +370,7 @@ vdev_geom_read_pool_label(const char *na
 				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");
@@ -439,7 +439,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);


More information about the svn-src-stable-9 mailing list