Hi,

This has been fixed in CVS. The problem was that total_wanted was decremented
by the amount of distributed space after each partition (which makes no
sense anyhow; all partitions should be treated equal, regardless of which
order they are listed in). Thus, if there was enough space on the disk for
all the partitions, total_wanted became zero, and divide by zero occured.

In addition, I've fixed it so it never tries to distribute space at all if
total_wanted = 0 (ie. all partitions have max=min from the start).

/* Steinar */
-- 
Homepage: http://www.sesse.net/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to