The patch titled idr: introduce ridr_init() has been removed from the -mm tree. Its filename was idr-introduce-ridr_init.patch This patch was dropped because an updated version will be merged The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: idr: introduce ridr_init() From: Nadia Derbey <Nadia.Derbey@xxxxxxxx> Introduce the ridr_init() routine. Signed-off-by: Nadia Derbey <Nadia.Derbey@xxxxxxxx> Cc: Jim Houston <jim.houston@xxxxxxxxxxx> Cc: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> Cc: "Paul E. McKenney" <paulmck@xxxxxxxxxx> Cc: Nick Piggin <nickpiggin@xxxxxxxxxxxx> Cc: Pierre Peiffer <peifferp@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/ridr.h | 1 + lib/ridr.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff -puN include/linux/ridr.h~idr-introduce-ridr_init include/linux/ridr.h --- a/include/linux/ridr.h~idr-introduce-ridr_init +++ a/include/linux/ridr.h @@ -44,6 +44,7 @@ struct ridr { * This is what we export. */ int ridr_pre_get(struct ridr *, gfp_t); +void ridr_init(struct ridr *); void __init ridr_init_cache(void); diff -puN lib/ridr.c~idr-introduce-ridr_init lib/ridr.c --- a/lib/ridr.c~idr-introduce-ridr_init +++ a/lib/ridr.c @@ -70,3 +70,17 @@ void __init ridr_init_cache(void) ridr_cache_ctor); } +/** + * ridr_init - initialize ridr handle + * @idp: ridr handle + * + * This function is used to set up the handle (@idp) that you will pass + * to the rest of the functions. + */ +void ridr_init(struct ridr *idp) +{ + memset(idp, 0, sizeof(struct ridr)); + spin_lock_init(&idp->lock); +} +EXPORT_SYMBOL(ridr_init); + _ Patches currently in -mm which might be from Nadia.Derbey@xxxxxxxx are origin.patch idr-introduce-ridr_init.patch idr-introduce-ridr_get_new_above.patch idr-introduce-ridr_get_new.patch idr-introduce-ridr_find.patch idr-introduce-ridr_remove.patch ipc-integrate-the-ridr-code-into-ipc-code.patch ipc-get-rid-of-ipc_lock_down.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html