Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Nov 2009 02:50:50 +0000 (UTC)
From:      Paul Saab <ps@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r199241 - head/sys/cddl/boot/zfs
Message-ID:  <200911130250.nAD2ooIp051465@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ps
Date: Fri Nov 13 02:50:50 2009
New Revision: 199241
URL: http://svn.freebsd.org/changeset/base/199241

Log:
  Correct another case of not doing 64bit math.  This allows mine and
  other raidz2 volumes to boot.
  
  Submitted by:	Matt Reimer <mattjreimer@gmail.com>

Modified:
  head/sys/cddl/boot/zfs/zfssubr.c

Modified: head/sys/cddl/boot/zfs/zfssubr.c
==============================================================================
--- head/sys/cddl/boot/zfs/zfssubr.c	Fri Nov 13 00:37:29 2009	(r199240)
+++ head/sys/cddl/boot/zfs/zfssubr.c	Fri Nov 13 02:50:50 2009	(r199241)
@@ -550,7 +550,8 @@ vdev_raidz_read(vdev_t *vdev, const blkp
 	uint64_t s = psize >> unit_shift;
 	uint64_t f = b % dcols;
 	uint64_t o = (b / dcols) << unit_shift;
-	int q, r, c, c1, bc, col, acols, coff, devidx, asize, n;
+	uint64_t q, r, coff;
+	int c, c1, bc, col, acols, devidx, asize, n;
 	static raidz_col_t cols[16];
 	raidz_col_t *rc, *rc1;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911130250.nAD2ooIp051465>