]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
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 e20fbde0875c6154fc8deaa96df64844f67c4bfc..f9e89f4d94bba17392f0416598d0ff7f27f92002 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