From owner-p4-projects@FreeBSD.ORG Fri Apr 25 15:03:52 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 45EF237B407; Fri, 25 Apr 2003 15:03:51 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6CCE37B401 for ; Fri, 25 Apr 2003 15:03:50 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DB4543F75 for ; Fri, 25 Apr 2003 15:03:50 -0700 (PDT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3PM3o0U067795 for ; Fri, 25 Apr 2003 15:03:50 -0700 (PDT) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3PM3org067788 for perforce@freebsd.org; Fri, 25 Apr 2003 15:03:50 -0700 (PDT) Date: Fri, 25 Apr 2003 15:03:50 -0700 (PDT) Message-Id: <200304252203.h3PM3org067788@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Subject: PERFORCE change 29741 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2003 22:03:52 -0000 http://perforce.freebsd.org/chv.cgi?CH=29741 Change 29741 by marcel@marcel_pluto1 on 2003/04/25 15:03:18 IFia64 Affected files ... .. //depot/projects/ia64_epc/sys/geom/geom_gpt.c#5 integrate Differences ... ==== //depot/projects/ia64_epc/sys/geom/geom_gpt.c#5 (text+ko) ==== @@ -79,28 +79,8 @@ static int g_gpt_start(struct bio *bp) { - struct uuid freebsd = GPT_ENT_TYPE_FREEBSD; - struct g_provider *pp = bp->bio_to; - struct g_geom *gp = pp->geom; - struct g_slicer *gsp = gp->softc; - struct g_gpt_softc *gs = gsp->softc; - u_int type; - if (bp->bio_cmd != BIO_GETATTR) - return (0); - - /* - * XXX: this is bogus. The BSD class has a strong dependency on - * the MBR/MBREXT class, because it asks for an attribute that's - * specific to the MBR/MBREXT class and the value of the attribute - * is just as specific to the MBR class. In an extensible scheme - * a geom would ask another geom if it could possible accomodate a - * class and the answer should be yes or no. Now we're forced to - * emulate a MBR class :-/ - */ - type = (memcmp(&gs->part[pp->index]->ent_type, &freebsd, - sizeof(freebsd))) ? 0 : 165; - return ((g_handleattr_int(bp, "MBR::type", type)) ? 1 : 0); + return (0); } static void