Christophe JAILLET 2abd9a197d bcache: 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().

Note that the upper limit of ida_simple_get() is exclusive, but the one of
ida_alloc_max() is inclusive. So a -1 has been added when needed.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20240509011117.2697-2-colyli@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-05-08 19:15:01 -06:00
..
2024-04-01 11:53:37 -06:00
2024-04-01 11:53:37 -06:00
2024-04-01 11:53:37 -06:00
2024-04-01 11:53:37 -06:00
2023-11-17 14:41:14 -05:00
2024-04-01 11:53:37 -06:00
2024-02-20 14:22:51 -05:00
2024-02-20 14:22:51 -05:00
2024-04-01 11:53:37 -06:00
2024-02-20 14:22:51 -05:00
2024-04-01 11:53:37 -06:00
2024-03-21 14:41:00 -07:00
2024-03-06 08:59:53 -08:00
2024-03-06 08:59:53 -08:00
2024-03-06 08:59:53 -08:00
2024-03-11 11:43:44 -07:00