commit | 3574f116f40f1c5a8d959c82231f8ddfbf2ca2a3 | [log] [tgz] |
---|---|---|
author | Hou Tao <[email protected]> | Fri Feb 03 09:19:07 2017 |
committer | ChromeOS Commit Bot <[email protected]> | Tue Mar 20 05:26:33 2018 |
tree | 2aacfb2fb21eac3d3a8310ecb91da3598dbb644e | |
parent | c37ce85f316939c37863907b9a84cd0f7e32cb15 [diff] |
UPSTREAM: blkcg: fix double free of new_blkg in blkcg_init_queue commit 9b54d816e00425c3a517514e0d677bb3cec49258 upstream. 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. BUG=b:75416097,chromium:823125 TEST=lakitu-release tryjob. Change-Id: Id85a2b2ab5fe145ac57dd75a069ddeb38832ff29 Signed-off-by: Hou Tao <[email protected]> Signed-off-by: Jens Axboe <[email protected]> Cc: Guenter Roeck <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Pradeep Sawlani <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/969162 Reviewed-by: Guenter Roeck <[email protected]>