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)
committerJens Axboe <axboe@kernel.dk>
Fri, 17 Nov 2023 17:48:58 +0000 (10:48 -0700)
commite63a57303599b17290cd8bc48e6f20b24289a8bc
tree19d63eb5171130c62737a60b3a5d9b1d296afcf5
parent35a99d6557cacbc177314735342f77a2dda41872
blk-cgroup: bypass blkcg_deactivate_policy after destroying

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>
block/blk-cgroup.c