From: Paul Gortmaker Date: Thu, 13 Jun 2013 03:07:51 +0000 (-0400) Subject: jbd2: remove debug dependency on debug_fs and update Kconfig help text X-Git-Tag: accepted/tizen/common/20141203.182822~1813^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75497d0607b56e16e4fec3a62ef447c752428723;p=platform%2Fkernel%2Flinux-arm64.git jbd2: remove debug dependency on debug_fs and update Kconfig help text Commit b6e96d0067d8 ("jbd2: use module parameters instead of debugfs for jbd_debug") removed any need for a dependency on DEBUG_FS. It also moved the /sys variables out from underneath the typical debugfs mount point. Delete the dependency and update the /sys path to where the debug settings are currently. Signed-off-by: Paul Gortmaker Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/jbd2/Kconfig b/fs/jbd2/Kconfig index 69a48c2..5a9f553 100644 --- a/fs/jbd2/Kconfig +++ b/fs/jbd2/Kconfig @@ -20,7 +20,7 @@ config JBD2 config JBD2_DEBUG bool "JBD2 (ext4) debugging support" - depends on JBD2 && DEBUG_FS + depends on JBD2 help If you are using the ext4 journaled file system (or potentially any other filesystem/device using JBD2), this option @@ -29,7 +29,7 @@ config JBD2_DEBUG By default, the debugging output will be turned off. If you select Y here, then you will be able to turn on debugging - with "echo N > /sys/kernel/debug/jbd2/jbd2-debug", where N is a + with "echo N > /sys/module/jbd2/parameters/jbd2_debug", where N is a number between 1 and 5. The higher the number, the more debugging output is generated. To turn debugging off again, do - "echo 0 > /sys/kernel/debug/jbd2/jbd2-debug". + "echo 0 > /sys/module/jbd2/parameters/jbd2_debug".