* [merged] btree-export-btree_get_prev-so-modules-can-use-btree_for_each.patch removed from -mm tree
@ 2012-01-11 21:30 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2012-01-11 21:30 UTC (permalink / raw)
To: steve, joern, roland, mm-commits
The patch titled
Subject: btree: export btree_get_prev() so modules can use btree_for_each
has been removed from the -mm tree. Its filename was
btree-export-btree_get_prev-so-modules-can-use-btree_for_each.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
From: Steve Hodgson <steve@purestorage.com>
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@purestorage.com>
Signed-off-by: Steve Hodgson <steve@purestorage.com>
Acked-by: Joern Engel <joern@logfs.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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)
_
Patches currently in -mm which might be from steve@purestorage.com are
origin.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-11 21:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-11 21:30 [merged] btree-export-btree_get_prev-so-modules-can-use-btree_for_each.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.