diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-08-08 17:36:56 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2014-02-17 10:27:47 -0500 |
commit | 05f7a7d6a7d23a877063857cf2df1dffec5a96dc (patch) | |
tree | 680e8b69e8ca9c6e8e793b226eb5392241bbec8d /include/linux/idr.h | |
parent | 8e2294343017d6b9a3026538e58ffe0d8bda3843 (diff) |
idr: Add new function idr_is_empty()
Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'include/linux/idr.h')
-rw-r--r-- | include/linux/idr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/idr.h b/include/linux/idr.h index 871a213a8477..9c95d210458b 100644 --- a/include/linux/idr.h +++ b/include/linux/idr.h | |||
@@ -85,6 +85,7 @@ void idr_remove(struct idr *idp, int id); | |||
85 | void idr_free(struct idr *idp, int id); | 85 | void idr_free(struct idr *idp, int id); |
86 | void idr_destroy(struct idr *idp); | 86 | void idr_destroy(struct idr *idp); |
87 | void idr_init(struct idr *idp); | 87 | void idr_init(struct idr *idp); |
88 | bool idr_is_empty(struct idr *idp); | ||
88 | 89 | ||
89 | /** | 90 | /** |
90 | * idr_preload_end - end preload section started with idr_preload() | 91 | * idr_preload_end - end preload section started with idr_preload() |