diff options
author | Michael Lyle <mlyle@lyle.org> | 2017-10-16 20:34:47 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-16 22:00:10 +0300 |
commit | 9ce762e85bc95fd7aa1fb5f8cfc38ce5a228fc95 (patch) | |
tree | 2d896298abbb01ac5e998d02273aee1544ea8504 /block/bio.c | |
parent | 52b69ff54aa0d163253dbd7ff80aaecf179dfbe3 (diff) | |
download | linux-9ce762e85bc95fd7aa1fb5f8cfc38ce5a228fc95.tar.xz |
bcache: writeback rate clamping: make 32 bit safe
Sorry this got through to linux-block, was detected by the kbuilds test
robot. NSEC_PER_SEC is a long constant; 2.5 * 10^9 doesn't fit in a
signed long constant.
Fixes: e41166c5c44e ("bcache: writeback rate shouldn't artifically clamp")
Reviewed-by: Coly Li <colyli@suse.de>
Signed-off-by: Michael Lyle <mlyle@lyle.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions