commit | 52abfcbd57eefdd54737fc8c2dc79d8f46d4a3e5 | [log] [tgz] |
---|---|---|
author | Gabriel Krisman Bertazi <krisman@collabora.com> | Thu Oct 22 16:58:41 2020 -0400 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Oct 26 07:57:46 2020 -0600 |
tree | a5ebedefbf3c4d43496867f39f5fb07e41b9d063 | |
parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec [diff] |
blk-cgroup: Fix memleak on error path If new_blkg allocation raced with blk_policy change and blkg_lookup_check fails, new_blkg is leaked. Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>