Remove test for zero sectorsize when tasting. This check doesn't

seem to be necessary anymore, and it prevents tasting a valid drive
when booting with geom_vinum already loaded, since SCSI disks set their
sectorsize not until first opening them.
This commit is contained in:
le 2005-03-07 19:58:58 +00:00
parent 1cdb32f8eb
commit ee457df6ea
2 changed files with 0 additions and 6 deletions

View File

@ -136,9 +136,6 @@ gv_taste(struct g_class *mp, struct g_provider *pp, int flags __unused)
g_trace(G_T_TOPOLOGY, "gv_taste(%s, %s)", mp->name, pp->name);
g_topology_assert();
if (pp->sectorsize == 0)
return (NULL);
/* Check if we already have a VINUM geom, or create a new one. */
if (LIST_EMPTY(&mp->geom)) {
gp = g_new_geomf(mp, "VINUM");

View File

@ -443,9 +443,6 @@ gv_drive_taste(struct g_class *mp, struct g_provider *pp, int flags __unused)
g_trace(G_T_TOPOLOGY, "gv_drive_taste(%s, %s)", mp->name, pp->name);
g_topology_assert();
if (pp->sectorsize == 0)
return(NULL);
/* Find the VINUM class and its associated geom. */
gp2 = find_vinum_geom();
if (gp2 == NULL)