block, bfq: replace 0/1 with false/true in bic apis
authorYu Kuai <yukuai3@huawei.com>
Wed, 14 Dec 2022 03:31:55 +0000 (11:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:26:36 +0000 (11:26 +0100)
commita62c129dcbfab0df020a7acb9538716304c180de
treecc12b6e95fc1405772b2cc6a8cf4a5798e171509
parent37a744a068c99903c52f959907ea5135f8ce4ad6
block, bfq: replace 0/1 with false/true in bic apis

[ Upstream commit 337366e02b370d2800110fbc99940f6ddddcbdfa ]

Just to make the code a litter cleaner, there are no functional changes.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20221214033155.3455754-3-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Stable-dep-of: b600de2d7d3a ("block, bfq: fix uaf for bfqq in bic_set_bfqq()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
block/bfq-cgroup.c
block/bfq-iosched.c