blk-throttle: Re-use the throtl_set_slice_end()
authorBaolin Wang <baolin.wang@linux.alibaba.com>
Thu, 8 Oct 2020 03:52:29 +0000 (11:52 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Oct 2020 14:01:38 +0000 (08:01 -0600)
commit1da30f952a81718a9c3b651121a274b093f44932
tree2c484424fec910d6e3c141fe7bf33b6ee50cc25f
parent29379674bda0739f184f1d234975605f7d6b428c
blk-throttle: Re-use the throtl_set_slice_end()

Re-use throtl_set_slice_end() to remove duplicate code.

Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c