From owner-cvs-all@FreeBSD.ORG Tue Apr 12 08:14:16 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1089516A4CE; Tue, 12 Apr 2005 08:14:16 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8A1143D2F; Tue, 12 Apr 2005 08:14:15 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3C8EFJN006039; Tue, 12 Apr 2005 08:14:15 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3C8EF6B006038; Tue, 12 Apr 2005 08:14:15 GMT (envelope-from pjd) Message-Id: <200504120814.j3C8EF6B006038@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Tue, 12 Apr 2005 08:14:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/geom geom_sunlabel.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 08:14:16 -0000 pjd 2005-04-12 08:14:15 UTC FreeBSD src repository Modified files: sys/geom geom_sunlabel.c Log: Protect against recursive labels creation in simlar way as it is done in BSD and MBR classes, ie. if provider below us uses the same metadata, don't create labels based on the metadata. This allows to create labels on geoms with rank != 1 without hacks. Tested by: Chris Elsworth on sparc64 OK'ed by: phk MFC after: 2 weeks Revision Changes Path 1.44 +46 -6 src/sys/geom/geom_sunlabel.c