summaryrefslogtreecommitdiffstats
path: root/sys/geom/concat
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-09-20 17:26:25 +0000
committerpjd <pjd@FreeBSD.org>2004-09-20 17:26:25 +0000
commitd7954bf77f710f30cf11fc1f082754aeb02f6057 (patch)
treeea2db257a494709984137c1eb497268cae8b7a78 /sys/geom/concat
parent07e6fe379fab6fea263a0a5e46678e97155a17c0 (diff)
downloadFreeBSD-src-d7954bf77f710f30cf11fc1f082754aeb02f6057.zip
FreeBSD-src-d7954bf77f710f30cf11fc1f082754aeb02f6057.tar.gz
This is not needed anymore, it is forced in GEOM now.
Actually, it can even cause some problems, because GEOM requires sectorsize to be more than 0 on first access, not on provider creation, so we can skip valid providers by doing this check here. Reported by: Divacky Roman <xdivac02@stud.fit.vutbr.cz> Sven Willenberger <sven@dmv.com>
Diffstat (limited to 'sys/geom/concat')
-rw-r--r--sys/geom/concat/g_concat.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/geom/concat/g_concat.c b/sys/geom/concat/g_concat.c
index d8798a4..a1e1765 100644
--- a/sys/geom/concat/g_concat.c
+++ b/sys/geom/concat/g_concat.c
@@ -546,9 +546,6 @@ g_concat_taste(struct g_class *mp, struct g_provider *pp, int flags __unused)
g_topology_assert();
G_CONCAT_DEBUG(3, "Tasting %s.", pp->name);
- /* Skip providers with 0 sectorsize. */
- if (pp->sectorsize == 0)
- return (NULL);
gp = g_new_geomf(mp, "concat:taste");
gp->start = g_concat_start;
OpenPOWER on IntegriCloud