From 09540e691d7f57684b296b60241b2ff357fae3ab Mon Sep 17 00:00:00 2001
From: Jens Axboe <axboe@suse.de>
Date: Sun, 26 Mar 2006 14:32:09 +0200
Subject: [PATCH] [PATCH] Fix blktrace compile with sysfs not defined

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/block/Kconfig b/block/Kconfig
index 43ca070dc0f8..5536839886ff 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -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
-- 
2.30.9