@@ -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
@@ -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/
Attaches the blk_interposer sample to the kernel assembly. Signed-off-by: Sergei Shtepa <sergei.shtepa@veeam.com> --- samples/Kconfig | 7 +++++++ samples/Makefile | 1 + 2 files changed, 8 insertions(+)