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]>
1 file changed