]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[BLOCK] iosched: fix setting of default io scheduler
authorJens Axboe <axboe@suse.de>
Fri, 4 Nov 2005 07:44:58 +0000 (08:44 +0100)
committerJens Axboe <axboe@suse.de>
Fri, 4 Nov 2005 07:44:58 +0000 (08:44 +0100)
With the recent reorg of the io scheduler selection, it unfortunately
became possible to select an io scheduler to be the default even if it
wasn't builtin. Fix this by requiring the default scheduler to be
builtin.

Signed-off-by: Jens Axboe <axboe@suse.de>
block/Kconfig.iosched

index 5b90d2fa63b8382d80de600d0410e4a1cf0518e2..f3b7753aac9940a34e6b6af58f7a7f26762c8b50 100644 (file)
@@ -46,13 +46,13 @@ choice
          block devices.
 
        config DEFAULT_AS
-               bool "Anticipatory" if IOSCHED_AS
+               bool "Anticipatory" if IOSCHED_AS=y
 
        config DEFAULT_DEADLINE
-               bool "Deadline" if IOSCHED_DEADLINE
+               bool "Deadline" if IOSCHED_DEADLINE=y
 
        config DEFAULT_CFQ
-               bool "CFQ" if IOSCHED_CFQ
+               bool "CFQ" if IOSCHED_CFQ=y
 
        config DEFAULT_NOOP
                bool "No-op"