[Devel,RHEL7,COMMIT] ploop: add dependency for CBT in Kconfig

Submitted by Konstantin Khorenko on Sept. 8, 2016, 9 a.m.

Details

Message ID 201609080900.u8890st9002933@finist_cl7.x64_64.work.ct
State New
Series "ploop: add dependency for CBT in Kconfig"
Headers show

Commit Message

Konstantin Khorenko Sept. 8, 2016, 9 a.m.
The commit is pushed to "branch-rh7-3.10.0-327.28.2.vz7.17.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-327.28.2.vz7.17.4
------>
commit 9bf738b00db5cd1be667aa9f69df88e35162ace3
Author: Cyrill Gorcunov <gorcunov@virtuozzo.com>
Date:   Thu Sep 8 13:00:54 2016 +0400

    ploop: add dependency for CBT in Kconfig
    
    While we're building our kernels with known to work predefined
    configs someone (for example myself) sometime build minimalistic
    kernels for test purposes. And I figured out that we're missing
    deps on ploop building. So add one which is required. Probably
    more comes in  with time.
    
    Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
---
 drivers/block/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index aa1eab2..dbe3a83 100644
--- a/drivers/block/Kconfig
+++ b/drivers/block/Kconfig
@@ -281,6 +281,7 @@  config BLK_DEV_CRYPTOLOOP
 
 config BLK_DEV_PLOOP
 	tristate "Virtuozzo loopback device support"
+	depends on BLK_DEV_CBT
 	---help---
 	  Saying Y here will allow you to use a regular file as a block
 	  device; you can then create a file system on that block device and