]> git.baikalelectronics.ru Git - kernel.git/commit
block: Directly use ida_alloc()/free()
authorBo Liu <liubo03@inspur.com>
Wed, 15 Jun 2022 08:18:16 +0000 (04:18 -0400)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 12:29:11 +0000 (06:29 -0600)
commitd5e541d7c6843683e40a2a8bfa762e3df5356070
tree1022067154d4c5a375f6df20885fde7f631e8d5f
parentc49ec585f24aeeab83e9fddc035ead68b5a0ec6b
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: Bo Liu <liubo03@inspur.com>
Reviewed-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20220615081816.4342-1-liubo03@inspur.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-sysfs.c