[Bug 221697] /usr/bin/quota incorrectly calculates NFS quota values.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 21 18:32:31 UTC 2017


--- Comment #1 from Stephen Usher <stephen.usher at earth.ox.ac.uk> ---
Created attachment 185645
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185645&action=edit
Better and safer patch

Here's a better (and far safer) patch which works if the reported bsize is
either smaller or larger than DEV_BSIZE.

The original bug caused the calculation of the scaling factor to underflow to
zero is the reported bsize was smaller than DEV_BSIZE.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list