diff options
author | Dan Carpenter <[email protected]> | 2022-07-15 11:12:14 +0300 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-08-02 17:22:41 -0600 |
commit | ee452a8d984f94fa8e894f003a52e776e4572881 (patch) | |
tree | 52f1d0ccc8a57447d922c0ef04582d27330a1f5b /net/lapb/lapb_timer.c | |
parent | c13cf14f44d23102f864a0d845439aa175631854 (diff) |
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: 94bc02e30fb8 ("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]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions