[PATCH 3/3] xfsprogs: xfs_quota: improve calculation for percentage display
Christoph Hellwig
hch at infradead.org
Thu Aug 25 00:02:38 CDT 2011
On Wed, Aug 24, 2011 at 04:53:43PM -0500, Alex Elder wrote:
> The pct_to_string() function determines the percentage it produces
> in a strange way. Simplify the function, and make it return the
> simple rounded percentage value. Handle the case of an error
> return from snprintf() as well.
Looks fine,
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the xfs
mailing list