gfio: fix problem with graph finding data range.
authorStephen M. Cameron <stephenmcameron@gmail.com>
Wed, 7 Mar 2012 18:37:57 +0000 (19:37 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Mar 2012 18:37:57 +0000 (19:37 +0100)
commitd582bf70449c1ebbd96f9afa3b2e37dcc7dfb11f
tree153ddc0c2fe016452fb4291b8ce8d8d6fc56dcd7
parent9ce9cfbd6ab2a821aa31cedf64ec3e8c0729a4fc
gfio: fix problem with graph finding data range.

In finding minimum value, it used zero as an initializer
but if the graph had no data below say, 1000, it would still
find zero as the minimum, which was incorrect.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
graph.c