blk-cgroup: stop using seq_get_buf
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Aug 2021 15:26:23 +0000 (17:26 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Aug 2021 16:53:01 +0000 (10:53 -0600)
commit252c651a4c854b328445a536bd1892e999103fca
tree1b04a2a2de7f4a9383f71514ee6cf61550e08937
parent49cb5168a7c6abf9835f9acdce6263bc2deefeb6
blk-cgroup: stop using seq_get_buf

seq_get_buf is a crutch that undoes all the memory safety of the
seq_file interface.  Use the normal seq_printf interfaces instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20210810152623.1796144-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
block/blk-iocost.c
block/blk-iolatency.c
block/mq-deadline-cgroup.c
include/linux/blk-cgroup.h