blk-throttle: use 'READ/WRITE' instead of '0/1'
authorYu Kuai <yukuai3@huawei.com>
Sat, 27 Aug 2022 10:16:35 +0000 (18:16 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Sep 2022 06:20:07 +0000 (00:20 -0600)
commit7e9c5c54d440bd6402ffdba4dc4f3df5bfe64ea4
tree0e07c0fe1b534f0e45308df3a041bff08960a2b4
parenta880ae93e5b5bb5d8d5500077a391e3f5ec7715c
blk-throttle: use 'READ/WRITE' instead of '0/1'

Make the code easier to read, like everywhere else.

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