Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block/nullb: delete unnecessary memory free
Commit 2984c86(nullb: factor disk parameters) has a typo. The nullb_device allocation/free is done outside of null_add_dev. The commit accidentally frees the nullb_device in error code path. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Shaohua Li <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information