summaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-05-09 09:11:16 +0800
committerJens Axboe <axboe@kernel.dk>2024-05-08 19:15:01 -0600
commit2abd9a197d828ed5c2cbe922368eb28d02861a28 (patch)
tree882cb451c6c0baa672f50f56ac5d626d6a3f06ad /lib/timerqueue.c
parent504fbcffea649cad69111e7597081dd8adc3b395 (diff)
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>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions