diff options
author | weiping zhang <zhangweiping@didichuxing.com> | 2017-08-25 23:49:32 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-25 13:51:07 -0600 |
commit | 4c18c9e962eb02e23731e5b40d4474fb04fdcb23 (patch) | |
tree | 2428fbbf84cf04811edcbf3baebc127711b45d20 /mm | |
parent | 231b3db18d4be74e8b199916911c2c16db1790de (diff) |
blkcg: avoid free blkcg_root when failed to alloc blkcg policy
this patch fix two errors, firstly avoid kfree blk_root, secondly not
free(blkcg) ,if blkcg alloc fail(blkcg == NULL), just unlock that mutex;
Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions