Received: by mail.netbsd.org (Postfix, from userid 605) id E35D219DF8D; Sun, 21 Nov 2010 21:52:05 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 0E61119DEDE for ; Sun, 21 Nov 2010 21:52:04 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 6CBF6175DD; Sun, 21 Nov 2010 21:52:04 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sun, 21 Nov 2010 21:52:04 +0000 From: "Jeff Rizzo" Subject: CVS commit: [netbsd-4] src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20101121215204.6CBF6175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Jeff Rizzo" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: riz Date: Sun Nov 21 21:52:04 UTC 2010 Modified Files: src/sys/kern [netbsd-4]: subr_disk.c Log Message: Pull up following revision(s) (requested by mrg in ticket #1411): sys/kern/subr_disk.c: revision 1.100 add some (uint64_t) casts so avoid 32 bit overflows. this fixes my 3TB disk with 4KB sectors and disklabel (which looks like it would work upto 16TB.) idea from mlelstv@. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.83.2.1 src/sys/kern/subr_disk.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.