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

From: Kent Overstreet
Date: Fri Oct 03 2025 - 22:01:49 EST


Give these config options names so that they show up under the "Library
routes" 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@xxxxxxxxxxxxxxxxxxxx>
Cc: Eric Biggers <ebiggers@xxxxxxxxxx>
Signed-off-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>
---
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