blk-cgroup: simplify blkg freeing from initialization failure paths
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:03:45 +0000 (16:03 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 15:20:05 +0000 (08:20 -0700)
commit27b642b07a4a5eb44dffa94a5171ce468bdc46f9
treef2735afab6856de17c0ae4cfab67a93694b52ae2
parent0b6f93bdf07e52620f725f721e547408e0d04c9d
blk-cgroup: simplify blkg freeing from initialization failure paths

There is no need to delay freeing a blkg to a workqueue when freeing it
after an initialization failure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20230203150400.3199230-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c