diff options
author | lulf <lulf@FreeBSD.org> | 2008-05-22 10:27:03 +0000 |
---|---|---|
committer | lulf <lulf@FreeBSD.org> | 2008-05-22 10:27:03 +0000 |
commit | 4cc0ad7f58323fcf27056e43a58db48b0edd47c9 (patch) | |
tree | b80b819087fc6a7d7297140f2ef392a6edd37802 /sys/geom | |
parent | 202b6cddc15f3f8de3f9b370f4a011ac15452c3e (diff) | |
download | FreeBSD-src-4cc0ad7f58323fcf27056e43a58db48b0edd47c9.zip FreeBSD-src-4cc0ad7f58323fcf27056e43a58db48b0edd47c9.tar.gz |
- Recognize the 'volume' parameter when creating a plex.
PR: kern/75632
Approved by: pjd (mentor)
MFC after: 1 day
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/vinum/geom_vinum_share.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/vinum/geom_vinum_share.c b/sys/geom/vinum/geom_vinum_share.c index e87fd68..ec97c5e 100644 --- a/sys/geom/vinum/geom_vinum_share.c +++ b/sys/geom/vinum/geom_vinum_share.c @@ -525,7 +525,8 @@ gv_new_plex(int max, char *token[]) break; } p->state = gv_plexstatei(token[j]); - } else if (!strcmp(token[j], "vol")) { + } else if (!strcmp(token[j], "vol") || + !strcmp(token[j], "volume")) { j++; if (j >= max) { errors++; |