freebsd-nq/sys/ufs
Bruce Evans 5b76055a53 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.

Reviewed by:	Kirk McKusick <mckusick@McKusick.COM>
1997-11-24 16:33:03 +00:00
..
ffs Staticized. 1997-11-22 08:35:46 +00:00
lfs Reviewed by: various. 1997-11-12 05:42:33 +00:00
mfs Reviewed by: various. 1997-11-12 05:42:33 +00:00
ufs Fixed overflow in ufs_getblns(). For ufs on systems with 32-bit ints, 1997-11-24 16:33:03 +00:00