aboutsummaryrefslogtreecommitdiff
path: root/sys/geom
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-07-29 10:09:13 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-07-29 10:09:13 +0000
commit3f5187f27643b74d548bce61078dbe6d9812fd14 (patch)
treed7167e4995d1a863ee3dca2d3856439f3082e0ff /sys/geom
parent7576b4b4c050db1512d39cc89a7524d8bc38454e (diff)
downloadsrc-3f5187f27643b74d548bce61078dbe6d9812fd14.tar.gz
src-3f5187f27643b74d548bce61078dbe6d9812fd14.zip
Implement DOSPTYP_EXTLBA more completely: loop until we find no more
partitions. Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz> PR: 53719
Notes
Notes: svn path=/head/; revision=118150
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_mbr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/geom_mbr.c b/sys/geom/geom_mbr.c
index 3abcf769860a..7d5994ad9007 100644
--- a/sys/geom/geom_mbr.c
+++ b/sys/geom/geom_mbr.c
@@ -425,7 +425,8 @@ g_mbrext_taste(struct g_class *mp, struct g_provider *pp, int insist __unused)
}
if (dp[1].dp_flag != 0)
break;
- if (dp[1].dp_typ != DOSPTYP_EXT)
+ if (dp[1].dp_typ != DOSPTYP_EXT &&
+ dp[1].dp_typ != DOSPTYP_EXTLBA)
break;
if (dp[1].dp_size == 0)
break;