Date: Mon, 21 Aug 2017 18:32:31 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221697] /usr/bin/quota incorrectly calculates NFS quota values. Message-ID: <bug-221697-8-wkXymdRM7E@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-221697-8@https.bugs.freebsd.org/bugzilla/> References: <bug-221697-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221697 --- Comment #1 from Stephen Usher <stephen.usher@earth.ox.ac.uk> --- Created attachment 185645 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185645&action= =3Dedit 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221697-8-wkXymdRM7E>