[PATCH v2 5/8] lib: Give closures, min_heap config opts names

Kent Overstreet
2025-10-12T21:24:29Z

Give these config options names so that they show up under the "Library
routines" kernel configuration menu, and can be enabled by
distributions.

These are needed for bcachefs to be built out of tree.

The closures and min_heap code originates from bcache and bcachefs.

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
---
lib/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Kconfig b/lib/Kconfig
index c483951b624f..badcb5ca9efd 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -367,7 +367,7 @@ config ASSOCIATIVE_ARRAY
for more information.

config CLOSURES
- bool
+ bool "bcache/bcachefs async widgets"

config HAS_IOMEM
bool
@@ -646,4 +646,4 @@ config UNION_FIND
bool

config MIN_HEAP
- bool
+ bool "Generic minheap algorithm"
--
2.51.0