diff options
author | Christoph Hellwig <hch@lst.de> | 2022-09-21 20:04:45 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-26 19:09:31 -0600 |
commit | 33dc62796cb657a633050138a86253fb2a553713 (patch) | |
tree | f79851f1b4ecb03a3d0475b0982f6cf0e96beb48 /block/blk-zoned.c | |
parent | f168420c62e7a106961f2489a89f6ade84fe3f27 (diff) | |
download | linux-33dc62796cb657a633050138a86253fb2a553713.tar.gz linux-33dc62796cb657a633050138a86253fb2a553713.tar.bz2 linux-33dc62796cb657a633050138a86253fb2a553713.zip |
blk-cgroup: fix error unwinding in blkcg_init_queue
When blk_throtl_init fails, we need to call blk_ioprio_exit. Switch to
proper goto based unwinding to fix this.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andreas Herrmann <aherrmann@suse.de>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220921180501.1539876-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-zoned.c')
0 files changed, 0 insertions, 0 deletions