From owner-freebsd-geom@FreeBSD.ORG Wed Sep 8 17:03:52 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F347316A4CE for ; Wed, 8 Sep 2004 17:03:51 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46CEB43D2D for ; Wed, 8 Sep 2004 17:03:51 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id i88DPOK7041404; Wed, 8 Sep 2004 15:25:24 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Allan Fields From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 08 Sep 2004 06:52:34 EDT." <20040908105234.GJ34157@afields.ca> Date: Wed, 08 Sep 2004 15:25:24 +0200 Message-ID: <41403.1094649924@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: DOT cc: freebsd-geom@freebsd.org Subject: Re: Can't reattach gbde slice [testing] X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 17:03:52 -0000 Here is one bugfix, but I'm not 100% sure it is what bites you, but please test anyway. Poul-Henning Index: gbde.c =================================================================== RCS file: /home/ncvs/src/sbin/gbde/gbde.c,v retrieving revision 1.24 diff -u -r1.24 gbde.c --- gbde.c 6 Sep 2004 13:42:09 -0000 1.24 +++ gbde.c 8 Sep 2004 13:20:30 -0000 @@ -476,7 +476,7 @@ static int sorthelp(const void *a, const void *b) { - const off_t *oa, *ob; + const uint64_t *oa, *ob; oa = a; ob = b; -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.