]> git.itanic.dy.fi Git - linux-stable/commit
null_blk: Remove usage of the deprecated ida_simple_xx() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 14 Jan 2024 09:00:59 +0000 (10:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Sun, 14 Jan 2024 14:37:44 +0000 (07:37 -0700)
commit95931a245b44ee04f3359ec432e73614d44d8b38
tree2c78048d6feafd00a5fa3468e336530e3b271912
parent7b4f36cd22a65b750b4cb6ac14804fb7d6e6c67d
null_blk: Remove usage of the deprecated ida_simple_xx() API

ida_alloc() and ida_free() should be preferred to the deprecated
ida_simple_get() and ida_simple_remove().

This is less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/bf257b1078475a415cdc3344c6a750842946e367.1705222845.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk/main.c