diff options
author | phk <phk@FreeBSD.org> | 2002-04-27 07:07:37 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-04-27 07:07:37 +0000 |
commit | 3cc313c2e55d5e5e7495f85a144a537ae17fc423 (patch) | |
tree | 1c1bf6457c9b75cb22b5414a81ce7a4fb52626a2 /sys/geom | |
parent | 521d4c87b6f38f65381ee7f9dacf9a7f4fa4d937 (diff) | |
download | FreeBSD-src-3cc313c2e55d5e5e7495f85a144a537ae17fc423.zip FreeBSD-src-3cc313c2e55d5e5e7495f85a144a537ae17fc423.tar.gz |
Fix a {} bug which doesn't have any effect yet.
Spotted by: jake
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_subr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index 34fefcb..d672c3d 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -290,13 +290,12 @@ redo_rank(struct g_geom *gp) continue; /* no rank to original geom means loop */ - if (gp == gp1) { + if (gp == gp1) return (ELOOP); /* no rank, put it at the end move on */ TAILQ_REMOVE(&geoms, gp1, geoms); TAILQ_INSERT_TAIL(&geoms, gp1, geoms); - } } return (0); } |