commit | a284390b397ae2f95de799bc591efbfe54bf0907 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Wed Jul 11 10:34:42 2018 -0400 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jul 11 08:37:38 2018 -0600 |
tree | 07136f08be61683a7ccfdbf3af286dec401880cc | |
parent | 88b7210c81096c018f5836aff4749743c0d34623 [diff] |
blk-iolatency: fix max_depth comparisons max_depth used to be a u64, but I changed it to a unsigned int but didn't convert my comparisons over everywhere. Fix by using UINT_MAX everywhere instead of (u64)-1. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>