diff options
author | grog <grog@FreeBSD.org> | 1999-06-22 05:40:51 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 1999-06-22 05:40:51 +0000 |
commit | fc53ed5c9377dc46e0ac42a176c88573b1ec49c8 (patch) | |
tree | 1632d0ffe2b318d3d157df0df2d3515e6389c9cf /sys/dev/vinum | |
parent | 509ff2a7345a7992c2dbfd92321535097cadffa2 (diff) | |
download | FreeBSD-src-fc53ed5c9377dc46e0ac42a176c88573b1ec49c8.zip FreeBSD-src-fc53ed5c9377dc46e0ac42a176c88573b1ec49c8.tar.gz |
bre: Don't loop if we try to access an invalid plex type. This is
typically the case when the expurgated version of Vinum tries to
access a RAID-5 plex.
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r-- | sys/dev/vinum/vinumrequest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinumrequest.c b/sys/dev/vinum/vinumrequest.c index a84bdf4..1321ddb 100644 --- a/sys/dev/vinum/vinumrequest.c +++ b/sys/dev/vinum/vinumrequest.c @@ -592,6 +592,7 @@ bre(struct request *rq, default: log(LOG_ERR, "vinum: invalid plex type %d in bre\n", plex->organization); + status = REQUEST_DOWN; /* can't access it */ } return status; |