]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
null_blk: change configfs dependency to select
authorJens Axboe <axboe@kernel.dk>
Tue, 3 Oct 2017 21:58:15 +0000 (15:58 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 3 Oct 2017 21:58:15 +0000 (15:58 -0600)
A recent commit made null_blk depend on configfs, which is kind of
annoying since you now have to find this dependency and enable that
as well. Discovered this since I no longer had null_blk available
on a box I needed to debug, since it got killed when the config
updated after the configfs change was merged.

Fixes: 3bf2bd20734e ("nullb: add configfs interface")
Reviewed-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/Kconfig

index 4a438b8abe27ad9c1774c89f608bd47fecc295a3..2dfe99b328f88e35d812b34bd4a48e3392fe5819 100644 (file)
@@ -17,7 +17,7 @@ if BLK_DEV
 
 config BLK_DEV_NULL_BLK
        tristate "Null test block driver"
-       depends on CONFIGFS_FS
+       select CONFIGFS_FS
 
 config BLK_DEV_FD
        tristate "Normal floppy disk support"