The patch titled Subject: btree: export btree_get_prev() so modules can use btree_for_each has been added to the -mm tree. Its filename is btree-export-btree_get_prev-so-modules-can-use-btree_for_each.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Steve Hodgson <steve@xxxxxxxxxxxxxxx> Subject: btree: export btree_get_prev() so modules can use btree_for_each The btree_for_each API is implemented with macros that internally call btree_get_prev(), so if btree_get_prev() isn't exported then modules fail to link if they try to use one of the btree_for_each macros. Since the rest of the btree API is exported, we should keep things orthogonal and make this work too. Signed-off-by: Roland Dreier <roland@xxxxxxxxxxxxxxx> Cc: Joern Engel <joern@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/btree.c | 1 + 1 file changed, 1 insertion(+) diff -puN lib/btree.c~btree-export-btree_get_prev-so-modules-can-use-btree_for_each lib/btree.c --- a/lib/btree.c~btree-export-btree_get_prev-so-modules-can-use-btree_for_each +++ a/lib/btree.c @@ -357,6 +357,7 @@ miss: } return NULL; } +EXPORT_SYMBOL_GPL(btree_get_prev); static int getpos(struct btree_geo *geo, unsigned long *node, unsigned long *key) _ Subject: Subject: btree: export btree_get_prev() so modules can use btree_for_each Patches currently in -mm which might be from steve@xxxxxxxxxxxxxxx are btree-export-btree_get_prev-so-modules-can-use-btree_for_each.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