]> err.no Git - linux-2.6/commitdiff
[PATCH] Fix blktrace compile with sysfs not defined
authorJens Axboe <axboe@suse.de>
Sun, 26 Mar 2006 12:32:09 +0000 (14:32 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Mon, 27 Mar 2006 07:29:03 +0000 (09:29 +0200)
debugfs depends on sysfs, so make blktrace kconfig option depend
on that.

Reported by Adrian Bunk.

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

index 43ca070dc0f81b58ba2a2757bf907acce36b02bc..5536839886ff2c8a7bda34242475d41ba1f5f51d 100644 (file)
@@ -13,6 +13,7 @@ config LBD
 
 config BLK_DEV_IO_TRACE
        bool "Support for tracing block io actions"
+       depends on SYSFS
        select RELAY
        select DEBUG_FS
        help