Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information