]> git.baikalelectronics.ru Git - kernel.git/commit
block: move initialization of q->blkg_list into blkcg_init_queue
authorMing Lei <ming.lei@redhat.com>
Fri, 11 Feb 2022 10:11:48 +0000 (18:11 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 Feb 2022 17:02:41 +0000 (10:02 -0700)
commit6f61541a2f6c09055cb570940f872725f5cde0f8
treec8835350aa9310733547fccbd86d20022b7aea7e
parent120ffae904c01fee696ff4fe8491bb3434c20cac
block: move initialization of q->blkg_list into blkcg_init_queue

q->blkg_list is only used by blkcg code, so move it into
blkcg_init_queue.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20220211101149.2368042-3-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
block/blk-core.c