Correct another case of not doing 64bit math. This allows mine and

other raidz2 volumes to boot.

Submitted by:	Matt Reimer <mattjreimer@gmail.com>
This commit is contained in:
Paul Saab 2009-11-13 02:50:50 +00:00
parent a9c23ef044
commit e44920da1a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199241

View File

@ -550,7 +550,8 @@ vdev_raidz_read(vdev_t *vdev, const blkptr_t *bp, void *buf,
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;