diff options
author | Yu Kuai <[email protected]> | 2023-08-16 09:27:07 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-08-30 10:15:01 -0600 |
commit | e8368b57c006dc0e02dcd8a9dc9f2060ff5476fe (patch) | |
tree | 513ca5faafdbda269ea3968494c42f55ed504699 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | bb8d5587bdc3ab211e1eae2eeb966f7a7d1f9c0b (diff) |
blk-throttle: use calculate_io/bytes_allowed() for throtl_trim_slice()
There are no functional changes, just make the code cleaner.
Signed-off-by: Yu Kuai <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions