summaryrefslogtreecommitdiffstats
path: root/sys/geom/concat/g_concat.c
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-02-27 15:34:21 +0000
committerpjd <pjd@FreeBSD.org>2004-02-27 15:34:21 +0000
commit2e191a7e19887acdc7a7f52491a57e5ed8ecdcd9 (patch)
tree639cedbfbf96085377b7be7d1f65e5f30bd64237 /sys/geom/concat/g_concat.c
parentbb9aeae50f33bead43f66bd94d8e4ebf067b4c4c (diff)
downloadFreeBSD-src-2e191a7e19887acdc7a7f52491a57e5ed8ecdcd9.zip
FreeBSD-src-2e191a7e19887acdc7a7f52491a57e5ed8ecdcd9.tar.gz
Even if we're sure that we can't be orphaned here, we have to define
orphan field - we're enforcing it in GEOM. This will reach KASSERT in INVARIANTS case. Add missing space. Approved by: scottl (mentor)
Diffstat (limited to 'sys/geom/concat/g_concat.c')
-rw-r--r--sys/geom/concat/g_concat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/concat/g_concat.c b/sys/geom/concat/g_concat.c
index ce62eda..eb7db86 100644
--- a/sys/geom/concat/g_concat.c
+++ b/sys/geom/concat/g_concat.c
@@ -537,7 +537,8 @@ g_concat_taste(struct g_class *mp, struct g_provider *pp, int flags __unused)
gp = g_new_geomf(mp, "concat:taste");
gp->start = g_concat_start;
- gp->access= g_concat_access;
+ gp->access = g_concat_access;
+ gp->orphan = g_concat_orphan;
cp = g_new_consumer(gp);
g_attach(cp, pp);
OpenPOWER on IntegriCloud