Gordon Messmer wrote:
This has been brought up before, but is probably still a problem. The correct fix, I believe, would be to only check f_ffree and f_bfree if f_files and f_blocks (respectively) are not 0.
This patch might fix it.
+ if (ninodes != -1 &&
This is messy. ninodes is an unsigned long.
You can achieve the same results by simply returning -1 from freespace().
pgp00000.pgp
Description: PGP signature
