svn commit: r199272 - stable/8/sys/cddl/boot/zfs
Robert Noland
rnoland at FreeBSD.org
Sat Nov 14 16:14:51 UTC 2009
Author: rnoland
Date: Sat Nov 14 16:14:51 2009
New Revision: 199272
URL: http://svn.freebsd.org/changeset/base/199272
Log:
MFC r199241
This patch addresses an overflow in the the zfs boot code and allows
users to boot from zfs raidz volumes. This has been tested by a number
of users and does not impact those which are not booting from zfs raidz
volumes.
Submitted by: Matt Reimer <mattjreimer at gmail.com>
Modified:
stable/8/sys/cddl/boot/zfs/zfssubr.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
stable/8/sys/netinet6/ (props changed)
Modified: stable/8/sys/cddl/boot/zfs/zfssubr.c
==============================================================================
--- stable/8/sys/cddl/boot/zfs/zfssubr.c Sat Nov 14 15:56:23 2009 (r199271)
+++ stable/8/sys/cddl/boot/zfs/zfssubr.c Sat Nov 14 16:14:51 2009 (r199272)
@@ -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;
More information about the svn-src-stable
mailing list