Skip to content
Commit 798f2a6f authored by Bo Liu's avatar Bo Liu Committed by Jens Axboe
Browse files

block: Directly use ida_alloc()/free()



Use ida_alloc()/ida_free() instead of
ida_simple_get()/ida_simple_remove().
The latter is deprecated and more verbose.

Signed-off-by: default avatarBo Liu <liubo03@inspur.com>
Reviewed-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20220615081816.4342-1-liubo03@inspur.com
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bf8d0853
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment