diff options
author | Jan Kara <jack@suse.cz> | 2022-06-08 13:23:49 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-08-03 05:52:19 +0200 |
commit | 68af74e92a86984ca6d5f7b19ee8f8a30a550873 (patch) | |
tree | 9d2b4c8a846df816720d7fb6ed6f18445ec0d0a0 /include | |
parent | jbd2: rename jbd_debug() to jbd2_debug() (diff) | |
download | linux-68af74e92a86984ca6d5f7b19ee8f8a30a550873.tar.xz linux-68af74e92a86984ca6d5f7b19ee8f8a30a550873.zip |
jbd2: remove unused exports for jbd2 debugging
Jbd2 exports jbd2_journal_enable_debug and __jbd2_debug() depite the
first is used only in fs/jbd2/journal.c and the second only within jbd2
code. Remove the pointless exports make jbd2_journal_enable_debug
static.
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Link: https://lore.kernel.org/r/20220608112355.4397-3-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/jbd2.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index d4d59e43769f..6c2aa61e0f73 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h @@ -54,7 +54,6 @@ * CONFIG_JBD2_DEBUG is on. */ #define JBD2_EXPENSIVE_CHECKING -extern ushort jbd2_journal_enable_debug; void __jbd2_debug(int level, const char *file, const char *func, unsigned int line, const char *fmt, ...); |