So the idea of the function is to return an integer in the range [0,100]?
Why are we using a range of 0 to 100 anyway? 100 seems like an arbitary value for kernel space - why not just keep it as a value in the range [0,2^32) ? That eliminates the arbitary constant of 100, and in some cases could reduce the effects of rounding and allow finer control at no additional expense.
-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
