Check for overflow in calculate_bytes_allowed.
Khazhismel Kumykov (1): blk-throttle: check for overflow in calculate_bytes_allowed
Yu Kuai (2): blk-throttle: factor out code to calculate ios/bytes_allowed blk-throttle: use calculate_io/bytes_allowed() for throtl_trim_slice()
block/blk-throttle.c | 97 +++++++++++++++++++++++++------------------- 1 file changed, 55 insertions(+), 42 deletions(-)