blk-iocost: check return value of match_u64()
authorYu Kuai <yukuai3@huawei.com>
Tue, 17 Jan 2023 07:08:02 +0000 (15:08 +0800)
committerJens Axboe <axboe@kernel.dk>
Sun, 29 Jan 2023 22:18:34 +0000 (15:18 -0700)
commit7b7c5ae4402f810612e84c4ded7a302a61eeba59
tree1741f20b6808f7a6a95cd0c8fb813fce3fb12084
parent5f2779dfa7b8cc7dfd4a1b6586d86e0d193266f3
blk-iocost: check return value of match_u64()

This patch fixs that the return value of match_u64() from ioc_qos_write()
is not checked,

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20230117070806.3857142-2-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-iocost.c