Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



In message <20101014004717.78879175DF%cvs.netbsd.org@localhost>
        on Thu, 14 Oct 2010 00:47:17 +0000,
        "matthew green" <mrg%netbsd.org@localhost> wrote:
> Module Name:  src
> Committed By: mrg
> Date:         Thu Oct 14 00:47:17 UTC 2010
> 
> Modified Files:
>       src/sys/kern: subr_disk.c
> 
> Log Message:
> 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@.
I think that this small fix should be pulled up to netbsd-4/netbsd-5
branches.

-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index