eta: fix comparison reversal for time based jobs
authorJens Axboe <axboe@fb.com>
Wed, 9 Dec 2015 16:08:10 +0000 (09:08 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 9 Dec 2015 16:08:10 +0000 (09:08 -0700)
commitada6fcee71b5eb65ea11ec36a3dd4f7e13d104e3
tree72d7eb3299a779b1a8cb3c0b642fd2139eb9c996
parentada8f2350ff83c29b47720b7d2aebedef94e88f3
eta: fix comparison reversal for time based jobs

If time_based=1 and runtime=x, then we know the job will take x
time to run. Fix a bug introduced in a previous commit.

Fixes: ("Fix ETA calculations")
Signed-off-by: Jens Axboe <axboe@fb.com>
eta.c