[Samba] Time out failure with mvfs on Linux - FIXED

Jeremy Allison jra at samba.org
Fri Jul 30 00:18:48 GMT 2004


On Mon, Jul 26, 2004 at 03:31:53PM +0100, Nick THOMPSON wrote:
> Well, worked around. It seems statfs returns a zero value for the block
> size, which is then passed to adjust_blocks in the fromsize parameter.
> This causes a divide by zero exception. I have modified the function to
> check for the zero value and assume a reasonable default.
> 
> I have reported the issue to Rational, for a real fix, but I guess Samba
> should protect itself anyway and prevent the exception if it can.

Yep - I agree. Thanks,

Jeremy.


More information about the samba mailing list