From: Jens Axboe Date: Sun, 26 Mar 2006 12:32:09 +0000 (+0200) Subject: [PATCH] Fix blktrace compile with sysfs not defined X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=09540e691d7f57684b296b60241b2ff357fae3ab;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [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 --- 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