diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-06-19 01:02:48 +0200 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-08-22 05:54:21 +0200 |
commit | b03f8e43c9261878bf29d8cc1c3ba458cc98287e (patch) | |
tree | afc7045075d7fdafcac2ea5a3eaa46fe44644e91 /lib/radix-tree.c | |
parent | test_ida: check_ida_destroy and check_ida_alloc (diff) | |
download | linux-b03f8e43c9261878bf29d8cc1c3ba458cc98287e.tar.xz linux-b03f8e43c9261878bf29d8cc1c3ba458cc98287e.zip |
ida: Remove old API
Delete ida_pre_get(), ida_get_new(), ida_get_new_above() and ida_remove()
from the public API. Some of these functions still exist as internal
helpers, but they should not be called by consumers.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'lib/radix-tree.c')
-rw-r--r-- | lib/radix-tree.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/radix-tree.c b/lib/radix-tree.c index cc6096b97afb..bc03ecc4dfd2 100644 --- a/lib/radix-tree.c +++ b/lib/radix-tree.c @@ -2106,14 +2106,6 @@ void idr_preload(gfp_t gfp_mask) } EXPORT_SYMBOL(idr_preload); -/** - * ida_pre_get - reserve resources for ida allocation - * @ida: ida handle - * @gfp: memory allocation flags - * - * This function should be called before calling ida_get_new_above(). If it - * is unable to allocate memory, it will return %0. On success, it returns %1. - */ int ida_pre_get(struct ida *ida, gfp_t gfp) { /* @@ -2134,7 +2126,6 @@ int ida_pre_get(struct ida *ida, gfp_t gfp) return 1; } -EXPORT_SYMBOL(ida_pre_get); void __rcu **idr_get_free(struct radix_tree_root *root, struct radix_tree_iter *iter, gfp_t gfp, |