stress2 - Use statvfs to fix calculations for large filesystems
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 13 Aug 2010 15:50:03 +0000 (08:50 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 13 Aug 2010 15:50:03 +0000 (08:50 -0700)
commit3647609110201ad09b8c7b945941765be8924123
tree191b7f659b8c0c453de0aa9f296e3d96daff0172
parentae23dbdb346411139ff33e1c4e06d60a5b825344
stress2 - Use statvfs to fix calculations for large filesystems

* Use statvfs to avoid available space overflow in calculation.
test/stress/stress2/lib/resources.c