[PATCH] Fix blktrace compile with sysfs not defined
Jens Axboe [Sun, 26 Mar 2006 12:32:09 +0000 (14:32 +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 43ca070..5536839 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