[PATCH 3/3] block: blk_interposer - sample config

From: Sergei Shtepa
Date: Wed Dec 09 2020 - 08:03:27 EST


Attaches the blk_interposer sample to the kernel assembly.

Signed-off-by: Sergei Shtepa <sergei.shtepa@xxxxxxxxx>
---
samples/Kconfig | 7 +++++++
samples/Makefile | 1 +
2 files changed, 8 insertions(+)

diff --git a/samples/Kconfig b/samples/Kconfig
index 0ed6e4d71d87..72e2a9399e10 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -216,4 +216,11 @@ config SAMPLE_WATCH_QUEUE
Build example userspace program to use the new mount_notify(),
sb_notify() syscalls and the KEYCTL_WATCH_KEY keyctl() function.

+config SAMPLE_BLK_INTERPOSER
+ tristate "Builds the sample block layer interposer -- loadable module only"
+ depends on m
+ help
+ Builds the sample block layer interposer kernel module to illustrate
+ the use of blk_interposer feature.
+
endif # SAMPLES
diff --git a/samples/Makefile b/samples/Makefile
index c3392a595e4b..953082c17249 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -29,3 +29,4 @@ obj-$(CONFIG_SAMPLE_INTEL_MEI) += mei/
subdir-$(CONFIG_SAMPLE_WATCHDOG) += watchdog
subdir-$(CONFIG_SAMPLE_WATCH_QUEUE) += watch_queue
obj-$(CONFIG_DEBUG_KMEMLEAK_TEST) += kmemleak/
+obj-$(CONFIG_SAMPLE_BLK_INTERPOSER) += blk_interposer/
--
2.20.1