Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
null_blk: fix ida error handling in null_add_dev()
There needs to be some error checking if ida_simple_get() fails. Also call ida_free() if there are errors later. Fixes: 94bc02e ("nullb: use ida to manage index") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/YtEhXsr6vJeoiYhd@kili Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information