summaryrefslogtreecommitdiff
path: root/block/blk.h
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2017-02-03 12:19:07 +0300
committerJens Axboe <axboe@fb.com>2017-02-03 17:52:35 +0300
commit9b54d816e00425c3a517514e0d677bb3cec49258 (patch)
tree4316604c3430ab596be3b6e6a120de23a384a541 /block/blk.h
parent0cacba6cf8252438f8166bd3fa1c3370dd28a769 (diff)
downloadlinux-9b54d816e00425c3a517514e0d677bb3cec49258.tar.xz
blkcg: fix double free of new_blkg in blkcg_init_queue
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>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions