summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_gpt.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-12 08:41:26 +0000
committerphk <phk@FreeBSD.org>2003-04-12 08:41:26 +0000
commitb08878d5abe36d30577c54d264a686c834407181 (patch)
tree70cab99eb5820539898b98912bd153898958a78c /sys/geom/geom_gpt.c
parente9d1c65d22261411dd6170529ca7f925989dca05 (diff)
downloadFreeBSD-src-b08878d5abe36d30577c54d264a686c834407181.zip
FreeBSD-src-b08878d5abe36d30577c54d264a686c834407181.tar.gz
Retire the "frontstuff" record keeping, it was no match for the
in-band meta-data of BSD labels and a more complex solution will be needed.
Diffstat (limited to 'sys/geom/geom_gpt.c')
-rw-r--r--sys/geom/geom_gpt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/geom/geom_gpt.c b/sys/geom/geom_gpt.c
index d51a824..764e47c 100644
--- a/sys/geom/geom_gpt.c
+++ b/sys/geom/geom_gpt.c
@@ -209,9 +209,6 @@ g_gpt_taste(struct g_class *mp, struct g_provider *pp, int insist)
tblsz = (hdr->hdr_entries * hdr->hdr_entsz + secsz - 1) &
~(secsz - 1);
buf = g_read_data(cp, hdr->hdr_lba_table * secsz, tblsz, &error);
-
- gsp->frontstuff = hdr->hdr_lba_start * secsz;
-
for (i = 0; i < hdr->hdr_entries; i++) {
struct uuid unused = GPT_ENT_TYPE_UNUSED;
struct uuid freebsd = GPT_ENT_TYPE_FREEBSD;
OpenPOWER on IntegriCloud