summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_sunlabel.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-09-06 08:50:28 +0000
committerphk <phk@FreeBSD.org>2002-09-06 08:50:28 +0000
commit42ca888ae8c4fc973e744c26f157b8f17d46744c (patch)
tree066067ca6695e2c968ad2b897234a1d43d1ac949 /sys/geom/geom_sunlabel.c
parent33a29ee495ec7a6be113d9fd823bdb77e2c5a34c (diff)
downloadFreeBSD-src-42ca888ae8c4fc973e744c26f157b8f17d46744c.zip
FreeBSD-src-42ca888ae8c4fc973e744c26f157b8f17d46744c.tar.gz
Remove "magicspace". It looks good on paper, it doesn't work in practice.
Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/geom/geom_sunlabel.c')
-rw-r--r--sys/geom/geom_sunlabel.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/geom/geom_sunlabel.c b/sys/geom/geom_sunlabel.c
index 126afae..d0b75f7 100644
--- a/sys/geom/geom_sunlabel.c
+++ b/sys/geom/geom_sunlabel.c
@@ -179,10 +179,8 @@ g_sunlabel_taste(struct g_class *mp, struct g_provider *pp, int flags)
}
g_topology_lock();
error = g_access_rel(cp, -1, 0, 0);
- if (npart > 0) {
- g_add_magicspace(gp, "label", 0, 512, 0);
+ if (npart > 0)
return (gp);
- }
g_std_spoiled(cp);
return (NULL);
}
OpenPOWER on IntegriCloud