Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 1997 09:58:15 +0100 (MET)
From:      Guido van Rooij <guido@gvr.org>
To:        bde@freebsd.org (Bruce Evans)
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org
Subject:   Re: cvs commit: src/sys/ufs/ufs ufs_bmap.c
Message-ID:  <199711250858.JAA09463@gvr.gvr.org>
In-Reply-To: <199711241633.IAA21767@freefall.freebsd.org> from Bruce Evans at "Nov 24, 97 08:33:05 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote:
> bde         1997/11/24 08:33:04 PST
> 
>   Modified files:
>     sys/ufs/ufs          ufs_bmap.c 
>   Log:
>   Fixed overflow in ufs_getblns().  For ufs on systems with 32-bit ints,
>   triple indirect blocks only worked for block sizes of 4K, since
>   MNINDIR(ump)**3 overflows for larger block sizes (e.g.,
>   (8192/4)**3 = 2**33 > INT_MAX).  This fix is not the obvious one of
>   changing some types to 64 bits.  It rearranges the code to avoid some
>   unnecessary 64-bit calculations.
>   

Will you put this in 2.2?

-Guido



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