gfio: fix tickmark shortening for zero special case
authorStephen M. Cameron <stephenmcameron@gmail.com>
Mon, 12 Mar 2012 06:32:30 +0000 (07:32 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Mar 2012 06:32:30 +0000 (07:32 +0100)
commitc9e8d6e3c5b5f87e17a1f4ee740f88b5b3818831
tree7b108af08cfe1f6cdc109ae058b7506196dacd08
parentc148daed3da130062a7575d5667ca0e044927153
gfio: fix tickmark shortening for zero special case

"0" tickmark can effectively be shortened by dividing by
any number as 0 / anything is still 0, but the code was
considering "0" to be unshortenable.

Signed-off-by: Stephen M. Cameron <stephenmcameron@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
tickmarks.c