blk-throttle: Move the list operation after list validation
authorBaolin Wang <baolin.wang@linux.alibaba.com>
Thu, 8 Oct 2020 03:52:26 +0000 (11:52 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Oct 2020 14:01:38 +0000 (08:01 -0600)
commitb7b609de5a0835b2ca10c71df5d9570008eb1084
tree05fa0c7b2629cea869a1ff29a86a0d53ec0279b4
parent5b7048b89745c3c5fb4b3080fb7bced61dba2a2b
blk-throttle: Move the list operation after list validation

We should move the list operation after validation.

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