cvs commit: src/sys/ufs/ffs ffs_alloc.c
Bjoern A. Zeeb
bz at FreeBSD.org
Mon Oct 1 02:28:09 PDT 2007
On Mon, 1 Oct 2007, Tom Judge wrote:
> Tom Judge wrote:
>> Bjoern A. Zeeb wrote:
>>> bz 2007-09-24 13:39:06 UTC
>>>
>>> FreeBSD src repository
>>>
>>> Modified files: (Branch: RELENG_6)
>>> sys/ufs/ffs ffs_alloc.c Log:
>>> MFC rev. 1.147
>>> Fix a DIV0 in case a large value for fs_avgfilesize or fs_avgfpdir
>>> is given (with newfs or tunefs) and dirsize overflows.
>>> In case dirsize is <= 0 because of an overflow set maxcontigdirs
>>> to 0 so it will be 1 later. This is what would happen for large
>>> fs_avgfilesize. [1]
>>> Submitted by: pjd [1]
>>> Revision Changes Path
>>> 1.132.2.7 +4 -1 src/sys/ufs/ffs/ffs_alloc.c
>>
>>
>> Does this by any chance fis this PR: kern/111352?
>
> s/fis/fix/
yes it should. I closed the PR, See the comment there.
Thanks for pointing me at the PR.
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
Software is harder than hardware so better get it right the first time.
More information about the cvs-src
mailing list