diff options
author | marcel <marcel@FreeBSD.org> | 2008-09-29 02:39:02 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-09-29 02:39:02 +0000 |
commit | 8e1dbe3531a0768c9786845e79e78d58841ebc52 (patch) | |
tree | 15040b35789da4a6c9d72082c5afcc139b04b301 | |
parent | 10320dbb609194388f7932a50698da8ce17c56f0 (diff) | |
download | FreeBSD-src-8e1dbe3531a0768c9786845e79e78d58841ebc52.zip FreeBSD-src-8e1dbe3531a0768c9786845e79e78d58841ebc52.tar.gz |
Insert the null scheme at the head. This does not change any
functionality, but creates an invariant: the first element
on the list is always the null scheme.
-rw-r--r-- | sys/geom/part/g_part.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/part/g_part.c b/sys/geom/part/g_part.c index c154871..71c0b05 100644 --- a/sys/geom/part/g_part.c +++ b/sys/geom/part/g_part.c @@ -1727,7 +1727,7 @@ static void g_part_init(struct g_class *mp) { - TAILQ_INSERT_TAIL(&g_part_schemes, &g_part_null_scheme, scheme_list); + TAILQ_INSERT_HEAD(&g_part_schemes, &g_part_null_scheme, scheme_list); } static void |