blk-throttle: use U64_MAX/UINT_MAX to replace -1
authorShaohua Li <shli@fb.com>
Mon, 27 Mar 2017 17:51:29 +0000 (10:51 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 28 Mar 2017 14:02:20 +0000 (08:02 -0600)
commit2ab5492de5009aabb584fd910dd4c7c4de1bea1a
tree045c2af2a0250832b325acd22d7c33d6f6b771bb
parent869ab90f0ae0002ce6e9d3a5c75156ae8de48ffc
blk-throttle: use U64_MAX/UINT_MAX to replace -1

clean up the code to avoid using -1

Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-throttle.c