]> git.itanic.dy.fi Git - linux-stable/commit
blk-cgroup: bypass blkcg_deactivate_policy after destroying
authorMing Lei <ming.lei@redhat.com>
Fri, 17 Nov 2023 02:35:24 +0000 (10:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2023 14:17:39 +0000 (15:17 +0100)
commit252c2a4795e9b7789d55a97943659d910c39987c
tree6ca95c94f270249d3007e19158b8c0f5925fa4d3
parent8146f7a8809bf7e46ab2fb337d304eb7a8be56d3
blk-cgroup: bypass blkcg_deactivate_policy after destroying

[ Upstream commit e63a57303599b17290cd8bc48e6f20b24289a8bc ]

blkcg_deactivate_policy() can be called after blkg_destroy_all()
returns, and it isn't necessary since blkg_destroy_all has covered
policy deactivation.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20231117023527.3188627-4-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
block/blk-cgroup.c