浏览代码

[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>
Jens Axboe 19 年之前
父节点
当前提交
09540e691d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      block/Kconfig

+ 1 - 0
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