Deleted Added
full compact
vdev_geom.c (332525) vdev_geom.c (332530)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 891 unchanged lines hidden (view full) ---

900 vdev_geom_set_physpath(vd, cp, /*do_null_update*/B_FALSE);
901 vdev_geom_set_rotation_rate(vd, cp);
902 }
903
904 g_topology_unlock();
905 PICKUP_GIANT();
906 if (cp == NULL) {
907 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED;
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 891 unchanged lines hidden (view full) ---

900 vdev_geom_set_physpath(vd, cp, /*do_null_update*/B_FALSE);
901 vdev_geom_set_rotation_rate(vd, cp);
902 }
903
904 g_topology_unlock();
905 PICKUP_GIANT();
906 if (cp == NULL) {
907 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED;
908 vdev_dbgmsg(vd, "vdev_geom_open: failed to open [error=%d]",
909 error);
908 return (error);
909 }
910skip_open:
911 pp = cp->provider;
912
913 /*
914 * Determine the actual size of the device.
915 */

--- 238 unchanged lines hidden ---
910 return (error);
911 }
912skip_open:
913 pp = cp->provider;
914
915 /*
916 * Determine the actual size of the device.
917 */

--- 238 unchanged lines hidden ---