block: make CONFIG_BLK_CGROUP visible
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 16 Mar 2010 07:57:15 +0000 (08:57 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 16 Mar 2010 07:57:15 +0000 (08:57 +0100)
Make the config visible, so we can choose from CONFIG_BLK_CGROUP=y
and CONFIG_BLK_CGROUP=m when CONFIG_IOSCHED_CFQ=m.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/Kconfig

index e20fbde..f9e89f4 100644 (file)
@@ -78,8 +78,9 @@ config BLK_DEV_INTEGRITY
        Protection.  If in doubt, say N.
 
 config BLK_CGROUP
-       bool
+       tristate "Block cgroup support"
        depends on CGROUPS
+       depends on CFQ_GROUP_IOSCHED
        default n
        ---help---
        Generic block IO controller cgroup interface. This is the common