diff options
author | Christophe JAILLET <[email protected]> | 2024-05-09 09:11:16 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-05-08 19:15:01 -0600 |
commit | 2abd9a197d828ed5c2cbe922368eb28d02861a28 (patch) | |
tree | 882cb451c6c0baa672f50f56ac5d626d6a3f06ad /rust/helpers/helpers.c | |
parent | 504fbcffea649cad69111e7597081dd8adc3b395 (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 <[email protected]>
Signed-off-by: Coly Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions