diff options
author | Hou Tao <houtao1@huawei.com> | 2017-02-03 17:19:07 +0800 |
---|---|---|
committer | Sasha Levin <alexander.levin@microsoft.com> | 2018-03-20 23:49:54 -0400 |
commit | 2191fc0f29b2d4e8e3e4aa5bf75df771aa7b1f88 (patch) | |
tree | 419c1408e5aeef7840738fbde34eba7baec295c3 /arch | |
parent | dfa3da735104f8e7f2e13c4be1c6650dcf3f1046 (diff) |
blkcg: fix double free of new_blkg in blkcg_init_queue
[ Upstream commit 9b54d816e00425c3a517514e0d677bb3cec49258 ]
If blkg_create fails, new_blkg passed as an argument will
be freed by blkg_create, so there is no need to free it again.
Signed-off-by: Hou Tao <houtao1@huawei.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions