[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 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