git: stress2 - Use statvfs to fix calculations for large filesystems
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Aug 13 08:52:13 PDT 2010
commit 3647609110201ad09b8c7b945941765be8924123
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Aug 13 08:50:03 2010 -0700
stress2 - Use statvfs to fix calculations for large filesystems
* Use statvfs to avoid available space overflow in calculation.
Summary of changes:
test/stress/stress2/lib/resources.c | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3647609110201ad09b8c7b945941765be8924123
--
DragonFly BSD source repository
More information about the Commits
mailing list