summaryrefslogtreecommitdiff
path: root/drivers/block/null_blk/Kconfig
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-11-20 04:55:19 +0300
committerJens Axboe <axboe@kernel.dk>2020-12-08 03:36:04 +0300
commiteebf34a85c8c724676eba502d15202854f199b05 (patch)
tree6f3399a148e58230e449e5de271bb1b0fbdfdd12 /drivers/block/null_blk/Kconfig
parentea17fd354ca8afd3e8962a77236b1a9a59262fdd (diff)
downloadlinux-eebf34a85c8c724676eba502d15202854f199b05.tar.xz
null_blk: Move driver into its own directory
Move null_blk driver code into the new sub-directory drivers/block/null_blk. Suggested-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/null_blk/Kconfig')
-rw-r--r--drivers/block/null_blk/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/block/null_blk/Kconfig b/drivers/block/null_blk/Kconfig
new file mode 100644
index 000000000000..6bf1f8ca20a2
--- /dev/null
+++ b/drivers/block/null_blk/Kconfig
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Null block device driver configuration
+#
+
+config BLK_DEV_NULL_BLK
+ tristate "Null test block driver"
+ select CONFIGFS_FS
+
+config BLK_DEV_NULL_BLK_FAULT_INJECTION
+ bool "Support fault injection for Null test block driver"
+ depends on BLK_DEV_NULL_BLK && FAULT_INJECTION