Browse Source

[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 năm trước cách đây
mục cha
commit
09540e691d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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