diff options
| author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-08-09 11:14:25 +0000 |
|---|---|---|
| committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-08-09 11:14:25 +0000 |
| commit | 7e72a70863332a72c624ab3b5e094d92edbfa8fb (patch) | |
| tree | 33baeacb69499603d7dcf852e68770fbdabcc1e0 /sys/geom/stripe | |
| parent | 7866c62aa6ba8bf127e6da5629e42bdc423d8156 (diff) | |
Notes
Diffstat (limited to 'sys/geom/stripe')
| -rw-r--r-- | sys/geom/stripe/g_stripe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/geom/stripe/g_stripe.c b/sys/geom/stripe/g_stripe.c index e3106b4a8f84..017cf3ce4596 100644 --- a/sys/geom/stripe/g_stripe.c +++ b/sys/geom/stripe/g_stripe.c @@ -883,9 +883,10 @@ g_stripe_taste(struct g_class *mp, struct g_provider *pp, int flags __unused) gp->orphan = g_stripe_orphan; cp = g_new_consumer(gp); g_attach(cp, pp); - error = g_stripe_read_metadata(cp, &md); - g_wither_geom(gp, ENXIO); + g_detach(cp); + g_destroy_consumer(cp); + g_destroy_geom(gp); if (error != 0) return (NULL); gp = NULL; |
